diff options
author | Jian Cai <caij2003@gmail.com> | 2021-06-07 10:12:13 -0700 |
---|---|---|
committer | Jian Cai <caij2003@gmail.com> | 2021-06-07 10:15:53 -0700 |
commit | fd11a26d368c5a909fb88548fef2cee7a6c2c931 (patch) | |
tree | a0d7692af53fbd3b50de80b7ba303b442ea24254 /llvm/lib/Object/XCOFFObjectFile.cpp | |
parent | 1465e7770bcacfb67ca4edc3714cf3a7e8a2a110 (diff) | |
download | llvm-fd11a26d368c5a909fb88548fef2cee7a6c2c931.zip llvm-fd11a26d368c5a909fb88548fef2cee7a6c2c931.tar.gz llvm-fd11a26d368c5a909fb88548fef2cee7a6c2c931.tar.bz2 |
[AArch64] handle -Wa,-march=
This fixed PR#48894 for AArch64. The issue has been fixed for Arm in
https://reviews.llvm.org/D95872
The following rules apply to -Wa,-march with this change:
- Only compiler options apply to non assembly files
- Compiler and assembler options apply to assembly files
- For assembly files, we prefer the assembler option(s) if we have both kinds of option
- Of the options that apply (or are preferred), the last value wins (it's not additive)
Reviewed By: DavidSpickett, nickdesaulniers
Differential Revision: https://reviews.llvm.org/D103184
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions