diff options
author | Devang Patel <dpatel@apple.com> | 2006-06-27 18:07:29 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2006-06-27 18:07:29 +0000 |
commit | e2f8ad854d6c07d89ddfa281c8459d4d7c3a5095 (patch) | |
tree | dd9fbede979a32d94e475db962c822f759d91217 /tools | |
parent | 7b0c58cd257d2197bc178818bc081c72aae57e46 (diff) | |
download | external_llvm-e2f8ad854d6c07d89ddfa281c8459d4d7c3a5095.zip external_llvm-e2f8ad854d6c07d89ddfa281c8459d4d7c3a5095.tar.gz external_llvm-e2f8ad854d6c07d89ddfa281c8459d4d7c3a5095.tar.bz2 |
Fix cut-n-pasto in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28928 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-ld/llvm-ld.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp index b93d511..9b56bdd 100644 --- a/tools/llvm-ld/llvm-ld.cpp +++ b/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. |