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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to