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

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 21:35:46 PST 2018


ruiu added inline comments.


================
Comment at: ELF/SyntheticSections.cpp:2433
+                      [](GdbIndexSection::CuEntry CU, uint32_t Offset) {
+                        return CU.CuOffset < Offset;
+                      }) -
----------------
Hmm, not sure if I follow. This new code still assume that CUs is sorted by CuOffset, no?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D54483





More information about the llvm-commits mailing list