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

James Y Knight via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 28 09:40:00 PDT 2022


jyknight added a comment.

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.


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