diff options
author | Felipe de Azevedo Piovezan <piovezan.fpi@gmail.com> | 2022-06-18 00:48:40 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2022-06-18 00:52:34 +0000 |
commit | c20381b226039d5789929c1942a2003711d6b4d0 (patch) | |
tree | 0c1d7cf88f09f262dc9d84dc31ea143b3301f65a /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | f0ca0a324fd5d32285ec081616b01f23c8fc635b (diff) | |
download | llvm-c20381b226039d5789929c1942a2003711d6b4d0.zip llvm-c20381b226039d5789929c1942a2003711d6b4d0.tar.gz llvm-c20381b226039d5789929c1942a2003711d6b4d0.tar.bz2 |
llvm-dwarf-dump: include type name for AT_containing_type
Type attributes are currently printed as:
DW_AT_type (<address> "<name>")
For example:
DW_AT_type (0x00000086 "double")
However, containing_type attributes omit the name, for example:
DW_AT_containing_type (0x00000086)
In order to make the dwarf dumps easier to read, and to have consistency
between the type-like attributes, this commit changes the way
DW_AT_containing_type is printed so that it includes the name of the
type it refers to:
DW_AT_containing_type (0x00000086 "double")
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D127078
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions