[all-commits] [llvm/llvm-project] 0446c5: [DebugInfo] Correctly report header parsing errors...

Alex Langford via All-commits all-commits at lists.llvm.org
Thu Oct 19 09:48:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0446c589afd66f061a604715d3f6e9f8fef012bf
      https://github.com/llvm/llvm-project/commit/0446c589afd66f061a604715d3f6e9f8fef012bf
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/test/tools/llvm-dwp/X86/cu_tu_units_manual_v5_invalid.s

  Log Message:
  -----------
  [DebugInfo] Correctly report header parsing errors from DWARFContext::fixupIndex (#69505)

In ef762e5e7292, I shifted around where errors were reported when
failing to parse and/or validate DWARFUnitHeaders. When we are doing so
in DWARFContext::fixupIndex, the actual error message isn't prefixed
with `warning:` like it would be elsewhere (because of the way
`logAllUnhandledErrors` is implemented).




More information about the All-commits mailing list