Displaying 3 results from an estimated 3 matches for "llipath".
2007 Sep 10
2
[LLVMdev] profiling with llvm-gcc4?
How can I do function profiling and BB profiling with current llvm and
llvm-gcc4?
runtime/libprofile is disabled when using llvm-gcc4, but... is there any
alternative to linking with libprofile_rt.so?
How can I use llvm-prof? is utils/profile.pl obsolete?
Thanks in advance,
josem
2007 Sep 10
0
[LLVMdev] profiling with llvm-gcc4?
On Mon, 10 Sep 2007, Jose M. Moya wrote:
> How can I do function profiling and BB profiling with current llvm and
> llvm-gcc4?
>
> runtime/libprofile is disabled when using llvm-gcc4, but... is there any
> alternative to linking with libprofile_rt.so?
>
> How can I use llvm-prof? is utils/profile.pl obsolete?
The profiling support in LLVM hasn't been used for quite a
2007 Sep 11
1
[LLVMdev] profiling with llvm-gcc4?
...le
else
ifneq ($(wildcard $(LLVMGCC)),)
PARALLEL_DIRS := libdummy libprofile GC
Index: utils/profile.pl
===================================================================
--- utils/profile.pl (revision 41794)
+++ utils/profile.pl (working copy)
@@ -62,11 +62,10 @@
shift @ARGV;
-my $LLIPath = `which lli`;
-$LLIPath = `dirname $LLIPath`;
-chomp $LLIPath;
+my $libdir = `llvm-config --libdir`;
+chomp $libdir;
-my $LibProfPath = $LLIPath . "/../../Debug/lib/profile_rt.so";
+my $LibProfPath = $libdir . "/profile_rt.so";
system "opt -q -f $ProfilePass $Bytecode...