[LLVMdev] Get LLVM assembler for a function.

Óscar Fuentes ofv at wanadoo.es
Wed Aug 19 22:30:56 PDT 2009


We can get the llvm assembler for a Module with something as simple as

      std::ofstream f("code.llvm");
      f << *M;

Is there a method for obtaining the llvm assembler of a given Function?

-- 
Óscar




More information about the llvm-dev mailing list