diff options
author | Fangrui Song <maskray@google.com> | 2018-11-29 00:17:00 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-11-29 00:17:00 +0000 |
commit | f2143761d6450d7be992f69602e1826e3e5774f4 (patch) | |
tree | be4927ac25c695c5e77a6d264d5bd37e88057980 /llvm/lib/TextAPI | |
parent | 2de209313e88467ec0103b1c69d37f80eef03107 (diff) | |
download | bcm5719-llvm-f2143761d6450d7be992f69602e1826e3e5774f4.tar.gz bcm5719-llvm-f2143761d6450d7be992f69602e1826e3e5774f4.zip |
[ELF] --gdb-index: use lower_bound to compute relative CU index in the object file
Summary:
This reinstates what I originally intended to do in D54361.
It removes the assumption that .debug_gnu_pubnames has increasing CuOffset.
Now we do better than gold here: when .debug_gnu_pubnames contains
multiple sets, gold would think every set has the same CU index as the
first set (incorrect).
Reviewed By: ruiu
Reviewers: ruiu, dblaikie, espindola
Subscribers: emaste, arichardson, arphaman, llvm-commits
Differential Revision: https://reviews.llvm.org/D54483
llvm-svn: 347820
Diffstat (limited to 'llvm/lib/TextAPI')
0 files changed, 0 insertions, 0 deletions