[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
Thu May 5 17:07:58 PDT 2016
zhizhouy added a comment.
I think the turning off of the GenDwarfForAssembly at the parsing stage
will lead to emitting no new debug info by the assembler at emitting stage.
So this still works for other debug info.
================
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
----------------
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
http://reviews.llvm.org/D20002
More information about the llvm-commits
mailing list