summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-02-01 21:54:50 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-02-01 21:54:50 +0000
commita380e613f1068db8b4b6c688c4894ce584c32d82 (patch)
treed197f805098409ebb49c97715303f105a682558d /llvm/lib/CodeGen
parent3411fbff0be4fddf69dc85d1f42233963588d6ed (diff)
downloadbcm5719-llvm-a380e613f1068db8b4b6c688c4894ce584c32d82.tar.gz
bcm5719-llvm-a380e613f1068db8b4b6c688c4894ce584c32d82.zip
Remove an assertion that doesn't hold when mixing -g and -gmlt through
LTO. Part of PR31437. Differential Revision: http://reviews.llvm.org/D29310 llvm-svn: 293818
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 8e2f4f2551a..81de9382aac 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1217,7 +1217,6 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
TheCU.getCUNode()->getEmissionKind() == DICompileUnit::LineTablesOnly &&
LScopes.getAbstractScopesList().empty() && !IsDarwin) {
assert(InfoHolder.getScopeVariables().empty());
- assert(DbgValues.empty());
// FIXME: This wouldn't be true in LTO with a -g (with inlining) CU followed
// by a -gmlt CU. Add a test and remove this assertion.
assert(AbstractVariables.empty());
OpenPOWER on IntegriCloud