[PATCH] D54483: [ELF] Use lower_bound to compute relative CU index

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 11:25:18 PST 2018


MaskRay created this revision.
MaskRay added reviewers: ruiu, dblaikie.
Herald added subscribers: llvm-commits, arphaman, arichardson, emaste.
Herald added a reviewer: espindola.

This reinstates what I originally intended to do in https://reviews.llvm.org/D54361.
It removes the assumption that .debug_gnu_pubnames has increasing CuOffset.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D54483

Files:
  ELF/SyntheticSections.cpp
  test/ELF/gdb-index-multiple-cu.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54483.173891.patch
Type: text/x-patch
Size: 4509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/b8dd2aa7/attachment.bin>


More information about the llvm-commits mailing list