[Lldb-commits] [PATCH] D68655: Trust the arange accelerator tables in dSYMs

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 12 04:33:18 PST 2023


labath added a comment.

In D68655#4045895 <https://reviews.llvm.org/D68655#4045895>, @jasonmolenda wrote:

> Both have to be written by the dwarf linker to be correct, but only the former is written ONLY by the dwarf linker.

I don't think that's right:

  $ clang -c -x c - -o - -gdwarf-aranges -g <<<"void f(){}" | llvm-readelf - --sections | grep aranges
    [ 6] .debug_aranges    PROGBITS        0000000000000000 0000a0 000030 00      0   0  1
    [ 7] .rela.debug_aranges RELA          0000000000000000 000380 000030 18   I 20   6  8


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68655/new/

https://reviews.llvm.org/D68655



More information about the lldb-commits mailing list