diff options
author | Gabor Greif <ggreif@gmail.com> | 2007-07-05 17:07:56 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2007-07-05 17:07:56 +0000 |
commit | a99be51bf5cdac1438069d4b01766c47704961c8 (patch) | |
tree | c743819ee5ce71fc3aa76ed445ca89201b4daf4a /tools/llvm-prof/llvm-prof.cpp | |
parent | f8ad9552215503f7573b5049567ed59c37cc9636 (diff) |
Here is the bulk of the sanitizing.
Almost all occurrences of "bytecode" in the sources have been eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-prof/llvm-prof.cpp')
-rw-r--r-- | tools/llvm-prof/llvm-prof.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp index c85b0da1bc..dcb9d1ff21 100644 --- a/tools/llvm-prof/llvm-prof.cpp +++ b/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; } |