[PATCH] D20002: Fix Bug 11740: Turn off -g when there are directive file debug info

Zhizhou Yang via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 15:02:30 PDT 2016


zhizhouy added inline comments.

================
Comment at: test/MC/AsmParser/directive_file-2.s:2
@@ +1,3 @@
+# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
+# RUN: llvm-mc -triple i386-unknown-unknown %s -filetype=null
+// Test for Bug 11740
----------------
zhizhouy wrote:
> dblaikie wrote:
> > What's this second run line for?
> Just to run twice with different command line options for stability. The same as what
> is in the test/MC/AsmParser/directive_file.s
In fact I am not quite familiar with the other test case (directive_file.s),
it seems it has these two lines to face two different situations.

So I just reused it since this test case should also work as the same as 
the former one.


http://reviews.llvm.org/D20002





More information about the llvm-commits mailing list