summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-08-07 20:41:17 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-08-07 20:41:17 +0000
commit56579b63248d7f8cd9e253adad94b9ed0cfb30e6 (patch)
tree5d4c22b8cf7f261c77d808b04f4bcc2e496c6885 /llvm/lib/Analysis/IPA/CallGraph.cpp
parent65a2f640d1b4283fee075e484c2185425631245b (diff)
downloadbcm5719-llvm-56579b63248d7f8cd9e253adad94b9ed0cfb30e6.tar.gz
bcm5719-llvm-56579b63248d7f8cd9e253adad94b9ed0cfb30e6.zip
Remove Support/IncludeFile.h and its only user. This is actively harmful, since
it breaks the modules builds (where CallGraph.h can be quite reasonably transitively included by an unimported portion of a module, and CallGraph.cpp not linked in), and appears to have been entirely redundant since PR780 was fixed back in 2008. If this breaks anything, please revert; I have only tested this with a single configuration, and it's possible that this is still somehow fixing something (though I doubt it, since no other similar file uses this mechanism any more). llvm-svn: 215142
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r--llvm/lib/Analysis/IPA/CallGraph.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp
index dfabb0ad063..67cf7f86e07 100644
--- a/llvm/lib/Analysis/IPA/CallGraph.cpp
+++ b/llvm/lib/Analysis/IPA/CallGraph.cpp
@@ -282,6 +282,3 @@ void CallGraphWrapperPass::print(raw_ostream &OS, const Module *) const {
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void CallGraphWrapperPass::dump() const { print(dbgs(), nullptr); }
#endif
-
-// Enuse that users of CallGraph.h also link with this file
-DEFINING_FILE_FOR(CallGraph)
OpenPOWER on IntegriCloud