[llvm] [BOLT][DWARF][NFC] Replace usages of GDBIndex functions (PR #94701)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 11:02:12 PDT 2024


================
@@ -435,9 +436,9 @@ static bool getLowAndHighPC(const DIE &Die, const DWARFUnit &DU,
 
 static Expected<llvm::DWARFAddressRangesVector>
 getDIEAddressRanges(const DIE &Die, DWARFUnit &DU) {
-  uint64_t LowPC, HighPC, Index;
-  if (getLowAndHighPC(Die, DU, LowPC, HighPC, Index))
-    return DWARFAddressRangesVector{{LowPC, HighPC, Index}};
+  uint64_t LowPC, HighPC, GDBIndexSection;
----------------
ayermolo wrote:

Was this changed by mistake?

https://github.com/llvm/llvm-project/pull/94701


More information about the llvm-commits mailing list