diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index e31135e..c89c634 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -2802,7 +2802,7 @@ void CodeViewDebug::emitLocalVariableList(const FunctionInfo &FI, // If ConstantValue is set we will emit it as a S_CONSTANT instead of a // S_LOCAL in order to be able to represent it at all. const DIType *Ty = L.DIVar->getType(); - APSInt Val(L.ConstantValue.value()); + APSInt Val(*L.ConstantValue); emitConstantSymbolRecord(Ty, Val, std::string(L.DIVar->getName())); } else { emitLocalVariable(FI, L); |