[all-commits] [llvm/llvm-project] a680bc: [clang][Arm] Fix handling of -Wa, -implicit-it=

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Thu Feb 11 10:51:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a680bc3a31d36d321ccf3801bdcff74d58842bfa
      https://github.com/llvm/llvm-project/commit/a680bc3a31d36d321ccf3801bdcff74d58842bfa
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/arm-target-as-mimplicit-it.s

  Log Message:
  -----------
  [clang][Arm] Fix handling of -Wa,-implicit-it=

Similiar to D95872, this flag can be set for the assembler directly.
Move validation code into a reusable helper function.

Link: https://bugs.llvm.org/show_bug.cgi?id=49023
Link: https://github.com/ClangBuiltLinux/linux/issues/1270
Reported-by: Arnd Bergmann <arnd at kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers at google.com>

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D96285




More information about the All-commits mailing list