diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 07:02:51 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 07:02:51 +0000 |
| commit | 5861659a1e1cc5131bfe67509df8b7207ed5e6fc (patch) | |
| tree | 66c1fe95eae4527ab667a8898c73d0cea81de1c3 /llvm/lib/Analysis/AliasAnalysis.cpp | |
| parent | cd8f67a1060c0ab57c9f6d6e42661827bddc1313 (diff) | |
| download | bcm5719-llvm-5861659a1e1cc5131bfe67509df8b7207ed5e6fc.tar.gz bcm5719-llvm-5861659a1e1cc5131bfe67509df8b7207ed5e6fc.zip | |
Change from using a stub function to a stub variable for passing to the
IncludeFile hack to ensure linkage of analysis passes. This works around
some -pedantic warnings about assigning an object to a function.
llvm-svn: 28621
Diffstat (limited to 'llvm/lib/Analysis/AliasAnalysis.cpp')
| -rw-r--r-- | llvm/lib/Analysis/AliasAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysis.cpp b/llvm/lib/Analysis/AliasAnalysis.cpp index 15a27e7a477..6d5a37515de 100644 --- a/llvm/lib/Analysis/AliasAnalysis.cpp +++ b/llvm/lib/Analysis/AliasAnalysis.cpp @@ -189,6 +189,6 @@ bool AliasAnalysis::canInstructionRangeModify(const Instruction &I1, // being linked into the tool that uses it. // namespace llvm { - extern void BasicAAStub(); + extern int BasicAAStub; } static IncludeFile INCLUDE_BASICAA_CPP((void*)&BasicAAStub); |

