[PATCH] D136707: [clang][Toolchains][Gnu] pass -gdwarf-* through to assembler

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 28 15:25:33 PDT 2022


MaskRay added a comment.

In D136707#3892300 <https://reviews.llvm.org/D136707#3892300>, @jyknight wrote:

> This change has caused `clang -Wall -fdebug-default-version=5 -c -xc /dev/null -o /dev/null` to print the following warning, because it has moved the read of the argument into a conditional.
> `clang: warning: argument unused during compilation: '-fdebug-default-version=5' [-Wunused-command-line-argument]`
>
> It shouldn't warn about that.

I will fix this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136707/new/

https://reviews.llvm.org/D136707



More information about the cfe-commits mailing list