A more informative output suffix for the opt tool.
authorMikhail Glushenkov <foldr@codedgers.com>
Wed, 22 Sep 2010 09:00:35 +0000 (09:00 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Wed, 22 Sep 2010 09:00:35 +0000 (09:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114540 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/src/Base.td.in

index 12c283a432b9498f582d674d98df7fa7b4d2f3da..3c001864cab69b7b05679cd8b57c8f1bdaa7fa2b 100644 (file)
@@ -241,7 +241,7 @@ def llvm_gcc_mxx_pch : llvm_gcc_pch_based
 def opt : Tool<
 [(in_language "llvm-bitcode"),
  (out_language "llvm-bitcode"),
- (output_suffix "bc"),
+ (output_suffix "opt.bc"),
  (actions (case (not_empty "Wo,"), (forward_value "Wo,"),
                 (switch_on "O1"), (forward "O1"),
                 (switch_on "O2"), (forward "O2"),