[LLVMdev] Does DragonEgg support parameters like -fno-builtin in clang?

陳韋任 (Wei-Ren Chen) chenwj at iis.sinica.edu.tw
Wed Apr 10 19:17:38 PDT 2013


On Wed, Apr 10, 2013 at 03:06:38PM -0700, Jeff Jia wrote:
> Hi,
> 
> I have figured out a way to achieve similar effects.
> 
>     gcc -S -c -O0 -fplugin=$(DRAGONEGG_SO) -fplugin-arg-dragonegg-emit-ir
> hello.c -o hello.bc
>     opt -O3 -disable-simplify-libcalls hello.bc -o hello.bc

  I guess "-fno-built-in" does not prevent dragonegg emitting "llvm"
builtin. Nice try. :)

Cheers,
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