[PATCH] D54483: [ELF] .gdb_index: use lower_bound to compute relative CU index in an object file

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 13:52:23 PST 2018


MaskRay updated this revision to Diff 173935.
MaskRay added a comment.

Change std::lower_bound to llvm::lower_bound

but i'm still unclear if we should handle nonexistence case and if so, what error message we should use. It is difficult as LLDDwarfObj does not know the object name.


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.173935.patch
Type: text/x-patch
Size: 4474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/7e1ce8c3/attachment.bin>


More information about the llvm-commits mailing list