[LLVMdev] Get LLVM assembler for a function.

Óscar Fuentes ofv at wanadoo.es
Thu Aug 20 07:20:42 PDT 2009


Hello Eli.

Eli Friedman <eli.friedman at gmail.com> writes:

>> Is there a method for obtaining the llvm assembler of a given Function?
>
> I think something like "F->print(f);" will do the right thing.

Nope. It prints nothing at all.

      mainF->print(std::cout);

-- 
Óscar




More information about the llvm-dev mailing list