OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979c38b
)
Make sure any client of Dominators.h links in Dominators.cpp
author
Chris Lattner
<sabre@nondot.org>
Thu, 14 Oct 2004 15:46:59 +0000
(15:46 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 14 Oct 2004 15:46:59 +0000
(15:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16986
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/Dominators.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/Dominators.h
b/include/llvm/Analysis/Dominators.h
index
736e508
..
11d4b98
100644
(file)
--- a/
include/llvm/Analysis/Dominators.h
+++ b/
include/llvm/Analysis/Dominators.h
@@
-268,6
+268,9
@@
struct DominatorSet : public DominatorSetBase {
AU.addRequired<ImmediateDominators>();
AU.setPreservesAll();
}
+
+ // stub - dummy function, just ignore it
+ static void stub();
};
@@
-506,6
+509,9
@@
private:
const DominatorTree::Node *Node);
};
+// Make sure that any clients of this file link in Dominators.cpp
+static IncludeFile
+DOMINATORS_INCLUDE_FILE((void*)&DominatorSet::stub);
} // End llvm namespace
#endif