[PATCH] D59553: llvm-symbolizer shows incorrect source line info if --gc-sections used

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 06:51:43 PDT 2019


avl added a comment.

Thanks!

1. I tried to use UINT64_MAX-1 as a address value for lost debug info :

  DW_AT_low_pc      (0xfffffffffffffffe) DW_AT_high_pc     (0x0000000000325a9f)

It works for correct ranges, though it stopped to work for this incorrect range(since low_pc become grater than high_pc), probably that is not a problem:

llvm-symbolizer -obj=gc-sections-debuginfo.s.tmp3 0xfffffffffffffffe 0x0000000000201000
??
??:0:0

main
main.cpp:2:4

2. yes, I will update a title and change sed in the test.


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

https://reviews.llvm.org/D59553





More information about the llvm-commits mailing list