[LLVMdev] RE : Detect if a basicblock is part of a loop

陳韋任 chenwj at iis.sinica.edu.tw
Fri Apr 27 05:45:08 PDT 2012


> Just as I said to Hal, nothing else than:
> $ clang -emit-llvm -S -o main.ll main.c
> $ ../build/Release/bin/opt -load ../build/Release/lib/LLVMobfuscationTest.so -flattening -S main.ll -o main.opt.ll

  Then you might need to past your main.c. Besides, is LLVMobfuscationTest.so
your own pass? What does it do?

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the llvm-dev mailing list