summaryrefslogtreecommitdiff
path: root/tools/lto
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lto')
-rw-r--r--tools/lto/lto-c.cpp2
-rw-r--r--tools/lto/lto.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/lto/lto-c.cpp b/tools/lto/lto-c.cpp
index f89b374e19..ae939a99bf 100644
--- a/tools/lto/lto-c.cpp
+++ b/tools/lto/lto-c.cpp
@@ -30,7 +30,7 @@ void llvm_destroy_optimizer(llvm_lto_t lto) {
delete (llvm::LTO*)lto;
}
-/// Read an LLVM bytecode file using LTO::readLLVMObjectFile.
+/// Read an LLVM bitcode file using LTO::readLLVMObjectFile.
extern "C"
llvm_lto_status
llvm_read_object_file(llvm_lto_t lto, const char *input_filename) {
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index 3420cdf67b..dacea661d1 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -107,7 +107,7 @@ LTO::removeModule (const std::string &InputFilename)
delete m;
}
-/// InputFilename is a LLVM bytecode file. If Module with InputFilename is
+/// InputFilename is a LLVM bitcode file. If Module with InputFilename is
/// available then return it. Otherwise parseInputFilename.
Module *
LTO::getModule(const std::string &InputFilename)
@@ -128,7 +128,7 @@ LTO::getModule(const std::string &InputFilename)
return m;
}
-/// InputFilename is a LLVM bytecode file. Reade this bytecode file and
+/// InputFilename is a LLVM bitcode file. Reade this bitcode file and
/// set corresponding target triplet string.
void
LTO::getTargetTriple(const std::string &InputFilename,
@@ -139,7 +139,7 @@ LTO::getTargetTriple(const std::string &InputFilename,
targetTriple = m->getTargetTriple();
}
-/// InputFilename is a LLVM bytecode file. Read it using bytecode reader.
+/// InputFilename is a LLVM bitcode file. Read it using bitcode reader.
/// Collect global functions and symbol names in symbols vector.
/// Collect external references in references vector.
/// Return LTO_READ_SUCCESS if there is no error.