|
@@ -5,7 +5,7 @@
|
|
# Synopsis: Insert instrumentation code into a program, run it with the JIT,
|
|
# Synopsis: Insert instrumentation code into a program, run it with the JIT,
|
|
# then print out a profile report.
|
|
# then print out a profile report.
|
|
#
|
|
#
|
|
-# Syntax: profile.pl [OPTIONS] bytecodefile <arguments>
|
|
|
|
|
|
+# Syntax: profile.pl [OPTIONS] bitcodefile <arguments>
|
|
#
|
|
#
|
|
# OPTIONS may include one or more of the following:
|
|
# OPTIONS may include one or more of the following:
|
|
# -block - Enable basicblock profiling
|
|
# -block - Enable basicblock profiling
|
|
@@ -56,7 +56,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
|
|
$LLVMProfOpts .= " " . $_;
|
|
$LLVMProfOpts .= " " . $_;
|
|
}
|
|
}
|
|
|
|
|
|
-die "Must specify LLVM bytecode file as first argument!" if (@ARGV == 0);
|
|
|
|
|
|
+die "Must specify LLVM bitcode file as first argument!" if (@ARGV == 0);
|
|
|
|
|
|
my $BytecodeFile = $ARGV[0];
|
|
my $BytecodeFile = $ARGV[0];
|
|
|
|
|