[LLVMdev] opt -load error on Darwin
Jing Yu
jingyuuiuc at gmail.com
Mon Aug 28 15:29:09 PDT 2006
I am using llvm 1.8 and have patched ltdl.c and ltdl.h to the latest
version.
My Makefile has LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a included.
> Try using 'nm -m' on the 'opt' executable itself. Using plain nm on my
> local one yields:
> 00121a4e T
> __ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPassManagerTERNS_13AnalysisUsageE
>
> and nm -m shows:
> 00121a4e (__TEXT,__text) external
>
> __ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPassManagerTERNS_13AnalysisUsageE
>
> Is this what you're seeing? Are you using llvm 1.8 or CVS? You might try
> CVS if 1.8 doesn't work for you.
>
Here is what I am seeing with nm. Is it normal to have a .eh entry that I
did not see on Pentium4?
$nm opt | grep __ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPass
001b8d90 T
__ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPassManagerTERNS_13Analys
isUsageE
00380b64 S
__ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPassManagerTERNS_13Analys
isUsageE.eh
$ nm -m opt | grep
__ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPass
001b8d90 (__TEXT,__text) external
__ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPa
ssManagerTERNS_13AnalysisUsageE
00380b64 (__TEXT,__eh_frame) external
__ZN4llvm12FunctionPass16addToPassManagerEPNS_20Functi
onPassManagerTERNS_13AnalysisUsageE.eh
I will try the CVS version.
Thanks,
Jing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060828/99118335/attachment.html>
More information about the llvm-dev
mailing list