summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-prof/llvm-prof.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2007-07-05 17:07:56 +0000
committerGabor Greif <ggreif@gmail.com>2007-07-05 17:07:56 +0000
commite16561cd5d459d4f1240431f4b564358024467f4 (patch)
tree42db314b3407bf11c48dabcba1d040387bc3eadf /llvm/tools/llvm-prof/llvm-prof.cpp
parent5892cfd2636b89e66f59ff5a3829515463d302d5 (diff)
downloadbcm5719-llvm-e16561cd5d459d4f1240431f4b564358024467f4.tar.gz
bcm5719-llvm-e16561cd5d459d4f1240431f4b564358024467f4.zip
Here is the bulk of the sanitizing.
Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
Diffstat (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp')
-rw-r--r--llvm/tools/llvm-prof/llvm-prof.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp
index c85b0da1bc6..dcb9d1ff218 100644
--- a/llvm/tools/llvm-prof/llvm-prof.cpp
+++ b/llvm/tools/llvm-prof/llvm-prof.cpp
@@ -32,8 +32,8 @@ using namespace llvm;
namespace {
cl::opt<std::string>
- BytecodeFile(cl::Positional, cl::desc("<program bytecode file>"),
- cl::Required);
+ BitcodeFile(cl::Positional, cl::desc("<program bitcode file>"),
+ cl::Required);
cl::opt<std::string>
ProfileDataFile(cl::Positional, cl::desc("<llvmprof.out file>"),
@@ -115,16 +115,16 @@ int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, " llvm profile dump decoder\n");
sys::PrintStackTraceOnErrorSignal();
- // Read in the bytecode file...
+ // Read in the bitcode file...
std::string ErrorMessage;
Module *M = 0;
- if (MemoryBuffer *Buffer = MemoryBuffer::getFileOrSTDIN(BytecodeFile,
+ if (MemoryBuffer *Buffer = MemoryBuffer::getFileOrSTDIN(BitcodeFile,
&ErrorMessage)) {
M = ParseBitcodeFile(Buffer, &ErrorMessage);
delete Buffer;
}
if (M == 0) {
- std::cerr << argv[0] << ": " << BytecodeFile << ": "
+ std::cerr << argv[0] << ": " << BitcodeFile << ": "
<< ErrorMessage << "\n";
return 1;
}
OpenPOWER on IntegriCloud