projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When checking whether a def of an aliased register is dead, ask the
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineModuleInfo.cpp
diff --git
a/lib/CodeGen/MachineModuleInfo.cpp
b/lib/CodeGen/MachineModuleInfo.cpp
index 8661b9ee132bdaf4c8bca4f0021143b47487faca..b62803f105e4c4c8f34398db9914b82eb5cee3e7 100644
(file)
--- a/
lib/CodeGen/MachineModuleInfo.cpp
+++ b/
lib/CodeGen/MachineModuleInfo.cpp
@@
-76,6
+76,9
@@
void MachineModuleInfo::EndFunction() {
FilterEnds.clear();
CallsEHReturn = 0;
CallsUnwindInit = 0;
+#ifdef ATTACH_DEBUG_INFO_TO_AN_INSN
+ VariableDbgInfo.clear();
+#endif
}
/// AnalyzeModule - Scan the module for global debug information.