[all-commits] [llvm/llvm-project] bc5dac: [AsmPrinter][DwarfDebug] Skip vars with fragments ...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Tue Sep 12 08:09:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc5dac17439dc7be0a5cbdf3b4f19845c2d873d6
      https://github.com/llvm/llvm-project/commit/bc5dac17439dc7be0a5cbdf3b4f19845c2d873d6
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/AArch64/dbg-entry-value-swiftasync.mir

  Log Message:
  -----------
  [AsmPrinter][DwarfDebug] Skip vars with fragments in different location kinds

The AsmPrinter currently assumes that a Debug Variable will have all of its
fragments with the same "kind" of location (i.e. all in the stack or all in
entry values). This is not enforced by the verifier, so it needs to be handled
properly. Until we do so, we conservatively drop one of the fragments.

Differential Revision: https://reviews.llvm.org/D159468




More information about the All-commits mailing list