[llvm-dev] base address in llvm location tables in dwarf 4
David Blaikie via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 7 10:43:54 PST 2020
On Tue, Jan 7, 2020 at 2:41 AM Carlo Kok via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Since fairly recently, llvm started emitting location tables with a base
> address (0xffffffff + base address) in the location tables. Even for Dwarf
> 4:
> ( !{i32 2, !"Dwarf Version", i32 4})
Now I'm not entirely sure if this is supported by V4,
Yep, base address selection entries in location lists are a feature of
DWARF4 (& DWARF3 for that matter) - so this is a conforming change. (you
can check DWARF specs here: http://dwarfstd.org/Download.php )
> but Apple DSymUtil doesn't support this currently. Is there any non code
> way to make it not emit these?
>
Nope - there's no flags, etc, for this feature. dsymutil built from LLVM
does support this feature, though - so you can build & use the latest
dsymutil to go with your clang/llvm compilers.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200107/f2a4e999/attachment.html>
More information about the llvm-dev
mailing list