<div dir="ltr">The differences you're pointing out are these?<br><br>* GCC doesn't put line/file on a namespace, Clang does<br>* GCC adds DW_AT_sibling, Clang doesn't<br>* GCC adds line/file on imported_module, Clang doesn't<br>* GCC omits artificial from the imported_module, Clang doesn't<br><br>On those:<br><br>* Clang should omit them for brevity<br>* Clang omits these for brevity, some consumers might find it easier to parse if they were present<br>* Clang could add these, I'm not sure if any debugger cares - notionally they could do more accurate expression evaluation with that information (not using the using directive when the user is evaluating an expression in a context lexically prior to the using directive)<br>* Unlikely to matter.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 11:11 PM, Katya Romanova <span dir="ltr"><<a href="mailto:Katya_Romanova@playstation.sony.com" target="_blank">Katya_Romanova@playstation.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I wanted to point out that that GCC compiler and LLVM compiler produce slightly different DWARF. Is our generation OK?<br>
<br>
GCC<br>
<1><73>: Abbrev Number: 4 (DW_TAG_namespace)<br>
 <74>   DW_AT_sibling     : <0x82><br>
...<br>
<1><82>: Abbrev Number: 6 (DW_TAG_imported_module)<br>
 <83>   DW_AT_decl_file   : 1<br>
 <84>   DW_AT_decl_line   : 4<br>
 <85>   DW_AT_import      : <0x73>      [Abbrev Number: 4 (DW_TAG_namespace)]<br>
<br>
LLVM:<br>
<1><2a>: Abbrev Number: 2 (DW_TAG_namespace)<br>
 <2b>   DW_AT_decl_file   : 1<br>
 <2c>   DW_AT_decl_line   : 4<br>
...<br>
<1><47>: Abbrev Number: 4 (DW_TAG_imported_module)<br>
 <48>   DW_AT_import      : <0x2a>      [Abbrev Number: 2 (DW_TAG_namespace)]<br>
 <4c>   DW_AT_artificial  : 1<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="http://reviews.llvm.org/D7895" target="_blank">http://reviews.llvm.org/D7895</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>