[LLVMdev] Difficulties in using gold plugin. (

Rafael Avila de Espindola rafael.espindola at gmail.com
Wed Jun 15 15:06:42 PDT 2011


On 11-06-15 03:32 PM, Istvan Haller wrote:
> Executing
> nm --plugin /usr/lib/bfd-plugins/LLVMgold.so test.a
> Gives:
> 00000000 W _ZN6tester4dumpEv
> 00000000 W _ZN6tester7readArgEPc
> 00000000 W _ZN6testerC1Ev
> 00000000 W _ZN6testerD1Ev
> And and more entries
> Without the plugin command "File format not recognized".
>
> So it seems like nm is using the plugin.

But only if explicitly told to do so. It should search the bfd-plugins 
directory automatically. Is the nm you are using installed in /usr/bin?

> Istvan

Cheers,
Rafael



More information about the llvm-dev mailing list