[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue

Eli Friedman eli.friedman at gmail.com
Tue May 25 20:13:07 PDT 2010


On Tue, May 25, 2010 at 5:53 PM, Will Dietz <willdtz at gmail.com> wrote:
> Hi all,
>
> First time posting to llvmdev, be gentle :).
>
> I'm working on an AliasAnalysis implementation and running into an
> issue on 2.7, that doesn't exist in 2.6 as far as I can tell.
>
> Short version: has anyone been able to load an AliasAnalysis module
> into 2.7's opt?
>
> Longer version:
>
> Even with a dummy pass implementation (just returns MayAlias for
> everything), I'm getting very strange behavior:
>
> All calls to FooAA::alias go to FooAA::print, resulting in
> understandably painful failure thereafter, generally a segfault.

Are you sure you built your module against LLVM 2.7 headers?

-Eli



More information about the llvm-dev mailing list