<div dir="ltr">They are orthogonal. DWARF64 is only used for object files that have 64-bit offsets, not for object files with 64-bit pointers.<div><br></div><div>-eric</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Feb 9, 2013 at 12:44 AM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Thank you for the fix, Takumi. Semantically it's correct, since we<br>
> don't currently support DWARF64 all such values are really 32-bits.<br>
<br>
</div>Aren't DWARF64 and ELF64 orthogonal? Most of the changes are probably<br>
fine for DWARF32, but "InitialLocation" is a target address in both<br>
DWARFs.<br>
<br>
I've produced a binary linked with code above 32-bits (attached) where<br>
this gives incorrect results (pc is  0x800000000 in the DWARF and<br>
objdump). It's AArch64 because I couldn't convince x86_64 to produce a<br>
.debug_frame section at all.<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>