projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a43d3e7
)
Remove unnecessary version check.
author
Devang Patel
<dpatel@apple.com>
Tue, 16 Aug 2011 17:41:41 +0000
(17:41 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 16 Aug 2011 17:41:41 +0000
(17:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137728
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 4cc54d6941b897b6a71f57b26bd7afdcb58256d9..45e0aaa5010c7a64071db5f17370f483e05f09a0 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-617,8
+617,7
@@
bool DwarfDebug::collectLegacyDebugInfo(Module *M) {
for (DebugInfoFinder::iterator I = DbgFinder.global_variable_begin(),
E = DbgFinder.global_variable_end(); I != E; ++I) {
const MDNode *N = *I;
- if (DIGlobalVariable(N).getVersion() <= LLVMDebugVersion9)
- constructGlobalVariableDIE(getCompileUnit(N), N);
+ constructGlobalVariableDIE(getCompileUnit(N), N);
}
// Create DIEs for each subprogram.