summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-08-12 00:00:31 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-08-12 00:00:31 +0000
commitf73ae4fbf6d378ea4f806ffcfcbd85c949c37708 (patch)
treecceaeb870b2b1f8831a610f5015eee65b3ff9a42 /llvm/lib/CodeGen
parent76447851ad839a852d0f342fba67e8397e5d2290 (diff)
downloadbcm5719-llvm-f73ae4fbf6d378ea4f806ffcfcbd85c949c37708.tar.gz
bcm5719-llvm-f73ae4fbf6d378ea4f806ffcfcbd85c949c37708.zip
Revert "Partially revert r214761 that asserted that all concrete debug info variables had DIEs, due to a failure on Darwin."
I believe this was addressed by r215157 and r215227, so let's have another go at the bots, etc. This reverts commit r214880. llvm-svn: 215412
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 5fd27e10eaa..d55a12d691f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -796,9 +796,7 @@ void DwarfDebug::beginModule() {
void DwarfDebug::finishVariableDefinitions() {
for (const auto &Var : ConcreteVariables) {
DIE *VariableDie = Var->getDIE();
- // FIXME: There shouldn't be any variables without DIEs.
- if (!VariableDie)
- continue;
+ assert(VariableDie);
// FIXME: Consider the time-space tradeoff of just storing the unit pointer
// in the ConcreteVariables list, rather than looking it up again here.
// DIE::getUnit isn't simple - it walks parent pointers, etc.
OpenPOWER on IntegriCloud