[all-commits] [llvm/llvm-project] ae6961: DWARFVerifier: Don't try to resolve decl_file in s...

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Dec 16 18:13:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae6961d407975cc861fc22bedb50fcbc47eb0f8b
      https://github.com/llvm/llvm-project/commit/ae6961d407975cc861fc22bedb50fcbc47eb0f8b
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/test/tools/llvm-dwarfdump/X86/verify_split_cu.s

  Log Message:
  -----------
  DWARFVerifier: Don't try to resolve decl_file in split CUs

Since they refer to the debug_line in the skeleton unit, they can't be
resolved from the dwo CU.

But they can be resolved for split TUs, since those refer to
.debug_line.dwo, which is available in the dwo file.




More information about the All-commits mailing list