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:
49e88e8
)
make sure to mark nodes in the globals graph incomplete after computing it
author
Chris Lattner
<sabre@nondot.org>
Tue, 15 Mar 2005 22:47:18 +0000
(22:47 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 15 Mar 2005 22:47:18 +0000
(22:47 +0000)
so that external globals (and whatever they point to) are marked incomplete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20628
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/EquivClassGraphs.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/EquivClassGraphs.cpp
b/lib/Analysis/DataStructure/EquivClassGraphs.cpp
index e895ef3c13559b99402ba7fa113ee87a1cafad7a..ef78d66f7a588bed28593aa1800c59539411b3fe 100644
(file)
--- a/
lib/Analysis/DataStructure/EquivClassGraphs.cpp
+++ b/
lib/Analysis/DataStructure/EquivClassGraphs.cpp
@@
-102,6
+102,7
@@
bool EquivClassGraphs::runOnModule(Module &M) {
DEBUG(CheckAllGraphs(&M, *this));
getGlobalsGraph().removeTriviallyDeadNodes();
+ getGlobalsGraph().markIncompleteNodes(DSGraph::IgnoreGlobals);
// Merge the globals variables (not the calls) from the globals graph back
// into the main function's graph so that the main function contains all of