[PATCH] D151933: [DebugInfo] Return an error from DWARFUnitHeader::applyIndexEntry

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 14:34:15 PDT 2023


aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp:358
+        errc::invalid_argument,
+        "DWARF package unit at offset 0x%8.8" PRIx64
+        " has a non-zero abbreviation offset prior to applying an index entry",
----------------
Are these actually specific to DWP files or should the error messages be more generic?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151933/new/

https://reviews.llvm.org/D151933



More information about the llvm-commits mailing list