[PATCH] Anonymous namespaces are missing import DW_TAG_imported_module.
Katya Romanova
Katya_Romanova at playstation.sony.com
Thu Feb 26 23:11:48 PST 2015
I wanted to point out that that GCC compiler and LLVM compiler produce slightly different DWARF. Is our generation OK?
GCC
<1><73>: Abbrev Number: 4 (DW_TAG_namespace)
<74> DW_AT_sibling : <0x82>
...
<1><82>: Abbrev Number: 6 (DW_TAG_imported_module)
<83> DW_AT_decl_file : 1
<84> DW_AT_decl_line : 4
<85> DW_AT_import : <0x73> [Abbrev Number: 4 (DW_TAG_namespace)]
LLVM:
<1><2a>: Abbrev Number: 2 (DW_TAG_namespace)
<2b> DW_AT_decl_file : 1
<2c> DW_AT_decl_line : 4
...
<1><47>: Abbrev Number: 4 (DW_TAG_imported_module)
<48> DW_AT_import : <0x2a> [Abbrev Number: 2 (DW_TAG_namespace)]
<4c> DW_AT_artificial : 1
http://reviews.llvm.org/D7895
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list