aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:17:42 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:17:42 +0000
commit6a6cd729aa118a4772d8ab0e9072feb1b4def4d2 (patch)
tree6d5be18c01da1bdd9b5058689cc48220ff5ad7bb
parent77ddce97adaaad1e8001acb9a9a28d7c3062fd93 (diff)
downloadexternal_llvm-6a6cd729aa118a4772d8ab0e9072feb1b4def4d2.zip
external_llvm-6a6cd729aa118a4772d8ab0e9072feb1b4def4d2.tar.gz
external_llvm-6a6cd729aa118a4772d8ab0e9072feb1b4def4d2.tar.bz2
Add a help string for the -c option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50764 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llvmc2/Tools.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvmc2/Tools.td b/tools/llvmc2/Tools.td
index e803915..4b57a50 100644
--- a/tools/llvmc2/Tools.td
+++ b/tools/llvmc2/Tools.td
@@ -64,7 +64,8 @@ def llvm_gcc_assembler : Tool<
(out_language "object-code"),
(output_suffix "o"),
(cmd_line "llvm-gcc -c -x assembler $INFILE -o $OUTFILE"),
- (switch_option "c", (stop_compilation)),
+ (switch_option "c", (stop_compilation),
+ (help "Compile and assemble, but do not link")),
(prefix_list_option "Wa", (unpack_values), (help "pass options to assembler"))
]>;