[LLVMdev] Question about insert function or instruction.

Brian R. Gaeke gaeke at uiuc.edu
Wed May 19 15:37:02 PDT 2004


> 1. Compile the program in question to bytecode using llvmgcc.
> Assume the result is 

I meant to say "Assume the result is in the bytecode file named
bytecode.llvm.bc".

> 2. Run the bytecode of the program through opt -tracem, and then
> generate C code for the result.
>  % opt -tracem bytecode.llvm.bc | llc -f -march=c -o bytecode.tracem.cbe.c

-Brian

-- 
gaeke at uiuc.edu



More information about the llvm-dev mailing list