Displaying 2 results from an estimated 2 matches for "arrayboundscheckgroup".
2010 May 26
0
[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue
...it, your analysis group needs to
implement a getAdjustedAnalysisPointer() method. The implementation
should look something like this:
/// When chaining analyses, changing the pointer to the correct pass
virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) {
if (PI->isPassID(&ArrayBoundsCheckGroup::ID))
return (ArrayBoundsCheckGroup*)this;
return this;
}
Just replace "ArrayBoundsCheckGroup" with whatever the name of your
analysis group is, and it should work.
-- John T.
Will Dietz wrote:
> Thanks for the response, Eli.
>
> The header suggestion could certa...
2010 May 26
2
[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue
Thanks for the response, Eli.
The header suggestion could certainly cause this issue (I panicked for
a second), but unfortunately as far as I can tell the headers are in
fact from LLVM 2.7.
The pass is built as a project configured by llvm, so hopefully that
would make things right, but also:
--include paths look legit (make VERBOSE=1, etc)
--strace on the build process for the project confirms