[LLVMdev] how to remove inlined function
Duncan Sands
baldrick at free.fr
Fri Mar 2 12:29:05 PST 2012
Hi Jochen,
> I'm using clang/llvm 3.0 release and I have a module that is generated
> by clang
> with some functions declared as inline. after inlining
> (llvm::createFunctionInliningPass)
> I'd like to remove the functions that were inlined. how can this be done?
> surprisingly they are removed if a print pass
> (llvm::createPrintModulePass) is
> present. is there an explanation for this?
why do you think they are not removed?
Ciao, Duncan.
More information about the llvm-dev
mailing list