[llvm] [BOLT][DWARF] Add support for DW_IDX_parent (PR #85285)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 14:03:58 PDT 2024


================
@@ -523,8 +523,9 @@ void DWARF5AcceleratorTable::writeEntries() {
               &EntriesBuffer.get()->data()[PatchOffset]);
           *Ptr = Iter->second;
         } else {
-          BC.errs() << "Could not find entry with offset " << *ParentOffset
-                    << "\n";
+          BC.errs() << "BOLT-WARNING: [internal-dwarf-warning]: Could not find "
----------------
maksfb wrote:

"Could" -> "could"

Under what conditions can the user get this warning? Bad input? 

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


More information about the llvm-commits mailing list