[LLVMdev] data exchange between loadable pass and backend
Nico
listiges at arcor.de
Thu May 29 01:18:08 PDT 2008
Hello,
I have an analysis pass and a target machine class, both in different
dynamically loadable libraries (plugins). There is no problem to use
the analysis pass (opt -load=libanalysis.dylib -barpass foo.bc), but
is it possible to get data from the analysis pass (by getAnalysis)
while using the backend?
AFAIK it is only allowed to have one plugin argument for llc (like:
llc -load=libbackend.dylib -march=foo bar.bc). Did I miss something?
Is the only solution to put the analysis pass in the target machine
library?
Thanks,
Nico
More information about the llvm-dev
mailing list