summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index dc6081c3b42..454c10f1808 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1279,7 +1279,7 @@ buildLocationList(SmallVectorImpl<DebugLocEntry> &DebugLoc,
}
// Add this value to the list of open ranges.
if (DIVar.isVariablePiece())
- OpenRanges.push_back({DIVar, Value});
+ OpenRanges.push_back(std::make_pair(DIVar, Value));
DEBUG(dbgs() << "Values:\n";
for (auto Value : DebugLoc.back().getValues())
OpenPOWER on IntegriCloud