diff options
| author | Martin Storsjö <martin@martin.st> | 2020-04-29 22:19:48 +0300 |
|---|---|---|
| committer | Martin Storsjö <martin@martin.st> | 2020-05-29 15:23:14 +0300 |
| commit | ac1f7ab007e347dc4a542aa3415e6378289480f4 (patch) | |
| tree | 5bb293d39665494e6f4751067c90675e3b02f193 /llvm/tools/llvm-objcopy/ELF/Object.cpp | |
| parent | d20a3d35e1875d7a4928184117e6a875c35f3f63 (diff) | |
| download | llvm-ac1f7ab007e347dc4a542aa3415e6378289480f4.zip llvm-ac1f7ab007e347dc4a542aa3415e6378289480f4.tar.gz llvm-ac1f7ab007e347dc4a542aa3415e6378289480f4.tar.bz2 | |
[clang] [Darwin] Add reverse mappings for aarch64/aarch64_32 to darwin arch names
These are mapped in MachO::getMachOArchName already, but were missing
in ToolChain::getDefaultUniversalArchName.
Having these reverse mapped here fixes weird inconsistencies like
-dumpmachine showing a target triple like "aarch64-apple-darwin",
while "clang -target aarch64-apple-darwin" didn't use to work (ended
up mapped as unknown-apple-ios).
Differential Revision: https://reviews.llvm.org/D79117
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions
