[all-commits] [llvm/llvm-project] 57fa68: [Driver][ARM][AArch64] Use err_drv_unsupported_opt...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jun 28 16:01:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57fa68897bb76e1fe5442784bca4e0629033c384
      https://github.com/llvm/llvm-project/commit/57fa68897bb76e1fe5442784bca4e0629033c384
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/test/Driver/aarch64-target-as-march.s
    M clang/test/Driver/arm-cortex-cpus-2.c
    M clang/test/Driver/arm-ias-Wa.s
    M clang/test/Preprocessor/aarch64-target-features.c

  Log Message:
  -----------
  [Driver][ARM][AArch64] Use err_drv_unsupported_option_argument for -march=/-mcpu=/-mtune= diagnostics

err_drv_clang_unsupported is for a Clang unsupported option (any value is rejected).
err_drv_unsupported_option_argument is for an unsupported value (other values may be supported).




More information about the All-commits mailing list