Fix the path from ../lib/Debug to ../Debug/lib per changes to Makefiles.
[oota-llvm.git] / utils / profile.pl
index 20810fab9a0964f15e8ebf60272d4f15cdaed7d6..dfa6bab12e4cb7ced71dad12208af662fa259509 100755 (executable)
@@ -66,7 +66,7 @@ my $LLIPath = `which lli`;
 $LLIPath = `dirname $LLIPath`;
 chomp $LLIPath;
 
-my $LibProfPath = $LLIPath . "/../../lib/Debug/libprofile_rt.so";
+my $LibProfPath = $LLIPath . "/../../Debug/lib/libprofile_rt.so";
 
 system "opt -q -f $ProfilePass $BytecodeFile -o $BytecodeFile.inst";
 system "lli -fake-argv0 '$BytecodeFile' -load $LibProfPath " .