[all-commits] [llvm/llvm-project] 4e724c: Revert "[DWARFv5] Verify all-or-nothing constraint...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Thu Nov 30 15:09:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e724c2a214cc62fd024237f0bdf903ed8fbf45b
      https://github.com/llvm/llvm-project/commit/4e724c2a214cc62fd024237f0bdf903ed8fbf45b
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    R llvm/test/Assembler/debug-info-source-invalid.ll
    R llvm/test/Assembler/debug-info-source.ll

  Log Message:
  -----------
  Revert "[DWARFv5] Verify all-or-nothing constraint on DIFile source"

This reverts commit 4ed5195712fd1f3f43e23678d8f666c47d1aa7d5.


  Commit: 87e22bdd2bd6d77d782f9d64b3e3ae5bdcd5080d
      https://github.com/llvm/llvm-project/commit/87e22bdd2bd6d77d782f9d64b3e3ae5bdcd5080d
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M llvm/include/llvm/MC/MCDwarf.h
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
    M llvm/lib/MC/MCDwarf.cpp
    A llvm/test/DebugInfo/Generic/mixed-source.ll

  Log Message:
  -----------
  Allow for mixing source/no-source DIFiles in one CU

The DWARF proposal that the DW_LNCT_LLVM_source extension is based on
(https://dwarfstd.org/issues/180201.1.html) allows to mix source and
non-source files in the same CU by storing an empty string as a
sentinel value.

This patch implements this feature.

Review in https://github.com/llvm/llvm-project/pull/73877


Compare: https://github.com/llvm/llvm-project/compare/2ee8763fecad...87e22bdd2bd6


More information about the All-commits mailing list