aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/GlobalsModRef.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-03-11 09:15:11 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-03-11 09:15:11 +0000
commit45a9c203a01b46afe43885843134926449cc1a5f (patch)
treef7e1a551e18b694b569dadedf00b4036ea4e0e8c /llvm/lib/Analysis/GlobalsModRef.cpp
parent4ddaadca76988ab8d437df822bf343a72b715814 (diff)
downloadllvm-45a9c203a01b46afe43885843134926449cc1a5f.zip
llvm-45a9c203a01b46afe43885843134926449cc1a5f.tar.gz
llvm-45a9c203a01b46afe43885843134926449cc1a5f.tar.bz2
[PM/AA] Teach the AAManager how to handle module analyses in addition to
function analyses, and use it to wire up globals-aa to the new pass manager. llvm-svn: 263211
Diffstat (limited to 'llvm/lib/Analysis/GlobalsModRef.cpp')
-rw-r--r--llvm/lib/Analysis/GlobalsModRef.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/GlobalsModRef.cpp b/llvm/lib/Analysis/GlobalsModRef.cpp
index 985fd22..8baaa0f 100644
--- a/llvm/lib/Analysis/GlobalsModRef.cpp
+++ b/llvm/lib/Analysis/GlobalsModRef.cpp
@@ -917,6 +917,8 @@ GlobalsAAResult::GlobalsAAResult(GlobalsAAResult &&Arg)
}
}
+GlobalsAAResult::~GlobalsAAResult() {}
+
/*static*/ GlobalsAAResult
GlobalsAAResult::analyzeModule(Module &M, const TargetLibraryInfo &TLI,
CallGraph &CG) {