small bug in profile.pl?

I wanted to use to use profile.pl to know the execution
count of basic blocks. However, I was not successfull with
the following error message.

I am using the latest version from CVS repository.

Could somebody help me out?
Thanks.

--- Error Message I got ------------------------
linux$ profile.pl -block ccc.bc
Error opening
'/home/myhome/llvm/llvm-install/bin/../../Debug/lib/libprofile_rt\
.so': Can't open
:/home/myhome/llvm/llvm-install/bin/../../Debug/lib/libprofile\
_rt.so:
/home/myhome/llvm/llvm-install/bin/../../Debug/lib/libprofile_rt.so:
ca\
nnot open shared object file: No such file or directory
  -load request ignored.

--- End Error Message --------------------------

I wanted to use to use profile.pl to know the execution
count of basic blocks. However, I was not successfull with
the following error message.

I am using the latest version from CVS repository.

Could somebody help me out?

Please try this patch:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20051010/028637.html

Also, if you're on Mac OS/X, the profile.pl script may not work out of the box. You might have to replace "profile_rt.so" with "profile_rt.dylib". On most other unix platforms you should be ok though.

-Chris

--- Error Message I got ------------------------
linux$ profile.pl -block ccc.bc
Error opening
'/home/myhome/llvm/llvm-install/bin/../../Debug/lib/libprofile_rt\
.so': Can't open
:/home/myhome/llvm/llvm-install/bin/../../Debug/lib/libprofile\
_rt.so:
/home/myhome/llvm/llvm-install/bin/../../Debug/lib/libprofile_rt.so:
ca\
nnot open shared object file: No such file or directory
-load request ignored.

--- End Error Message --------------------------

--------------------------------------
Know more about Breast Cancer
http://pr.mail.yahoo.co.jp/pinkribbon/

_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-Chris