[LLVMdev] how to remove inlined function

Jochen Wilhelmy jochen.wilhelmy at googlemail.com
Wed Feb 29 02:06:01 PST 2012


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 
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?


More information about the llvm-dev mailing list