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

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 17:19:46 PDT 2016


On Thu, May 5, 2016 at 5:07 PM, Zhizhou Yang via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> 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
>

I'm not sure I understand. What instability is a concern here?


>
>
> http://reviews.llvm.org/D20002
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160505/7ff4ae0c/attachment.html>


More information about the llvm-commits mailing list