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:
2962664
)
Oops. find all llvm.dbg.global_variables.
author
Devang Patel
<dpatel@apple.com>
Mon, 17 Aug 2009 20:36:20 +0000
(20:36 +0000)
committer
Devang Patel
<dpatel@apple.com>
Mon, 17 Aug 2009 20:36:20 +0000
(20:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79274
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DebugInfo.cpp
b/lib/Analysis/DebugInfo.cpp
index 527dae2029d313d4b025945158a1968a1325f3cd..fb80b8346d27c3c9d1d4ebd2d69d226f82d7d5d4 100644
(file)
--- a/
lib/Analysis/DebugInfo.cpp
+++ b/
lib/Analysis/DebugInfo.cpp
@@
-942,7
+942,7
@@
void DebugInfoFinder::processModule(Module &M) {
GVI != GVE; ++GVI) {
GlobalVariable *GV = GVI;
if (!GV->hasName() || !GV->isConstant()
- || str
cmp(GV->getName().data(), "llvm.dbg.global_variable"
)
+ || str
ncmp(GV->getName().data(), "llvm.dbg.global_variable", 24
)
|| !GV->hasInitializer())
continue;
DIGlobalVariable DIG(GV);