[LLVMdev] whole program bitcode and gold plugin
espindola at google.com
Mon Jun 7 08:07:16 PDT 2010
On 6 June 2010 17:17, Guoliang Jin <jingl1345 at gmail.com> wrote:
> 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?
With a newer version of the plugin there is a also-emit-llvm option.
> Thanks very much,
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
Rafael Ávila de Espíndola
More information about the llvm-dev