[LLVMdev] strace for whole-program bitcodes

Rafael Espindola espindola at google.com
Mon Oct 19 10:58:37 PDT 2009


2009/10/17 zhunan <zhunansjtu at gmail.com>:
> Thank you for the reply,but I meant that when we building,we can not use
> the native tools such ar and as to process the llvm files,we must have
> the ability to call llvm-ar and llvm-as instead of the native ones.

We can use the native tools if they understand llvm IL :-)

That is what the plugin does. With it installed you can run nm in a
file with LLVM IL and it will print you the symbols. You can also add
IL files to an archive and the archive will have a correct symbol
table.

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-dev mailing list