aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-04-29 02:12:06 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-04-29 02:12:06 +0000
commitbcffb1fbb85a88cb99f7c2115a5f78e860d7fc46 (patch)
treea7e400febef581e1c8ce058f0cc40e33c6a39993 /utils
parent6344a5f1464dade7735ac440d7a3d24bf009f298 (diff)
downloadexternal_llvm-bcffb1fbb85a88cb99f7c2115a5f78e860d7fc46.zip
external_llvm-bcffb1fbb85a88cb99f7c2115a5f78e860d7fc46.tar.gz
external_llvm-bcffb1fbb85a88cb99f7c2115a5f78e860d7fc46.tar.bz2
Rename profile_rt.so to libprofile_rt.so under configure+make (it already was
under cmake). Add libprofile_rt.a so that we can tell clang to link against it in --coverage mode. Also turn it on by default in cmake builds. Oscar, this touches a change you made for EXCLUDE_FROM_ALL support -- I think I've done the right thing, but please let me know (or fix and commit) if not! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/profile.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/profile.pl b/utils/profile.pl
index 3180115..782e5dc 100755
--- a/utils/profile.pl
+++ b/utils/profile.pl
@@ -65,7 +65,7 @@ shift @ARGV;
my $libdir = `llvm-config --libdir`;
chomp $libdir;
-my $LibProfPath = $libdir . "/profile_rt.so";
+my $LibProfPath = $libdir . "/libprofile_rt.so";
system "opt -q -f $ProfilePass $BytecodeFile -o $BytecodeFile.inst";
system "lli -fake-argv0 '$BytecodeFile' -load $LibProfPath " .