summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld/llvm-ld.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2006-06-27 18:07:29 +0000
committerDevang Patel <dpatel@apple.com>2006-06-27 18:07:29 +0000
commit039215b020d46570689b0cbb9c45a0f5573f8537 (patch)
tree2aa52e48e2e122175219f092b7d0dc651ac5dece /llvm/tools/llvm-ld/llvm-ld.cpp
parentcb5a84f4463aa1a4c4e4f093bcb88162a6d877af (diff)
downloadbcm5719-llvm-039215b020d46570689b0cbb9c45a0f5573f8537.tar.gz
bcm5719-llvm-039215b020d46570689b0cbb9c45a0f5573f8537.zip
Fix cut-n-pasto in comments.
llvm-svn: 28928
Diffstat (limited to 'llvm/tools/llvm-ld/llvm-ld.cpp')
-rw-r--r--llvm/tools/llvm-ld/llvm-ld.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp
index b93d511e8f9..9b56bdd1f0e 100644
--- a/llvm/tools/llvm-ld/llvm-ld.cpp
+++ b/llvm/tools/llvm-ld/llvm-ld.cpp
@@ -218,7 +218,7 @@ void GenerateBytecode(Module* M, const std::string& FileName) {
/// specified bytecode file.
///
/// Inputs:
-/// InputFilename - The name of the output bytecode file.
+/// InputFilename - The name of the input bytecode file.
/// OutputFilename - The name of the file to generate.
/// llc - The pathname to use for LLC.
/// envp - The environment to use when running LLC.
@@ -240,8 +240,7 @@ static int GenerateAssembly(const std::string &OutputFilename,
return sys::Program::ExecuteAndWait(llc,&args[0]);
}
-/// GenerateAssembly - generates a native assembly language source file from the
-/// specified bytecode file.
+/// GenerateCFile - generates a C source file from the specified bytecode file.
static int GenerateCFile(const std::string &OutputFile,
const std::string &InputFile,
const sys::Path &llc) {
@@ -257,11 +256,11 @@ static int GenerateCFile(const std::string &OutputFile,
return sys::Program::ExecuteAndWait(llc, &args[0]);
}
-/// GenerateNative - generates a native assembly language source file from the
-/// specified assembly source file.
+/// GenerateNative - generates a native object file from the
+/// specified bytecode file.
///
/// Inputs:
-/// InputFilename - The name of the output bytecode file.
+/// InputFilename - The name of the input bytecode file.
/// OutputFilename - The name of the file to generate.
/// Libraries - The list of libraries with which to link.
/// LibPaths - The list of directories in which to find libraries.
OpenPOWER on IntegriCloud