mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 22:30:12 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc7206a8a9
commit
524cd2eb7b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user