[LLVMdev] How to use -ds-aa in llvm

Lin, Yu yulin2 at illinois.edu
Sun Apr 22 15:02:59 PDT 2012


Dear all,

I'm a new user of LLVM. I'm trying to use DSA alias 
analysis in LLVM. I compiled llvm 3.0 and poolalloc (checkout 
from svn). I get the following lib in the ${poolalloc}/Release/lib/ :
AssistDS.so
libcount.so
libpoolalloc_rt.so
LLVMDataStructure.so
poolalloc.so

I tried to load all of them and do analysis by 
opt -load ${poolalloc}/Release/lib/<lib_name.so> -ds-aa -print-alias-sets Example.bc

However, I still get error message "opt: Unknown command line argument '-ds-aa'".

So how can I run -ds-aa?

Thanks,
Yu Lin



More information about the llvm-dev mailing list