Support emitting complex expressions that include entry values
authorAdrian Prantl <aprantl@apple.com>
Fri, 12 Feb 2021 00:07:19 +0000 (16:07 -0800)
committerAdrian Prantl <aprantl@apple.com>
Mon, 15 Feb 2021 19:09:09 +0000 (11:09 -0800)
commit09b832e74f6c71c2023a3094727bc5c24c639985
tree9618235aa26c3fa8165cd0d35e678b8959215f3a
parent02413b097e72a3aab17e0504af135a95c0d300a1
Support emitting complex expressions that include entry values

This patch enables AsmPrinter support for complex expression with
entry values. It shouldn't AsmPrinter's call whether these are safe or
not but the pass who introduces the DW_OP_LLVM_entry_value. This patch
on its own has no effect on clang.

Differential Revision: https://reviews.llvm.org/D96559
llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
llvm/test/DebugInfo/MIR/X86/complex-entryvalue.mir [new file with mode: 0644]