diff options
Diffstat (limited to 'llvm/lib/IR/DebugProgramInstruction.cpp')
| -rw-r--r-- | llvm/lib/IR/DebugProgramInstruction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugProgramInstruction.cpp b/llvm/lib/IR/DebugProgramInstruction.cpp index 362d467beeb1..7937e306e7a8 100644 --- a/llvm/lib/IR/DebugProgramInstruction.cpp +++ b/llvm/lib/IR/DebugProgramInstruction.cpp @@ -491,7 +491,7 @@ void DbgVariableRecord::setAssignId(DIAssignID *New) { void DbgVariableRecord::setKillAddress() { resetDebugValue( - 1, ValueAsMetadata::get(UndefValue::get(getAddress()->getType()))); + 1, ValueAsMetadata::get(PoisonValue::get(getAddress()->getType()))); } bool DbgVariableRecord::isKillAddress() const { |
