[LLVMdev] whole program bitcode and gold plugin

Guoliang Jin jingl1345 at gmail.com
Sun Jun 6 14:17:10 PDT 2010


Hi,

I found some posts on the topic of whole program bitcode and gold plugin.

I put lto_codegen_write_merged_modules(cg, "/path/to/output.bc") into 
gold-plugin.cpp all_symbols_read_hook() and compiled one autotooled 
program (ftp://ftp.gnu.org/gnu/diction/diction-1.11.tar.gz) as described 
in the gold plugin document, however, I still did not see the output.bc.

Can anyone has succeeded in doing this share with me how you archive 
this or what I may miss?

Thanks very much,
Guoliang



More information about the llvm-dev mailing list