aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-03-15 10:50:21 -0700
committerGitHub <noreply@github.com>2024-03-15 10:50:21 -0700
commitcd071253c70b3b37a0b9d113709ca9d49a83007e (patch)
tree449b7d9c41db8fcfbfad6e5b651474a067888f84 /clang/lib/Frontend/TestModuleFileExtension.cpp
parentb8db3e7c7dddaa14c314a05b92c9fa3df38734e4 (diff)
downloadllvm-cd071253c70b3b37a0b9d113709ca9d49a83007e.zip
llvm-cd071253c70b3b37a0b9d113709ca9d49a83007e.tar.gz
llvm-cd071253c70b3b37a0b9d113709ca9d49a83007e.tar.bz2
[Driver] Don't alias -mstrict-align to -mno-unaligned-access
GCC ports only supports one of the options, with -mstrict-align preferred by newer ports. They reject adding -m[no-]unaligned-access to newer ports that use -m[no-]strict-align. (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555). We should not support aliases, either. Since the behavior has been long-time for ARM (a146a48349c965932dcf304ffb8155b25307f245), support both forms for ARM for now but remove -m[no-]unaligned-access for RISC-V/LoongArch (see also https://github.com/riscv-non-isa/riscv-c-api-doc/pull/62). While here, add TargetSpecific to ensure errors on unsupported targets (https://reviews.llvm.org/D151590) and remove unneeded CC1 options. Pull Request: https://github.com/llvm/llvm-project/pull/85350
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions