diff options
author | Fangrui Song <maskray@google.com> | 2020-04-09 14:09:43 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-04-09 15:46:48 -0700 |
commit | f3d460ce5874e4dd12b8cf8b227de4cec43a685c (patch) | |
tree | e1fe46e792d6b5e166e691bc00cd546c06ee2d0b /llvm/lib/Support/OptimizedStructLayout.cpp | |
parent | a79b2fc44bfd5b5c856ce7b62f40c991afd9a532 (diff) | |
download | llvm-f3d460ce5874e4dd12b8cf8b227de4cec43a685c.zip llvm-f3d460ce5874e4dd12b8cf8b227de4cec43a685c.tar.gz llvm-f3d460ce5874e4dd12b8cf8b227de4cec43a685c.tar.bz2 |
[libunwind] Clean up __arm64__
`__aarch64__` is defined for the target (since the beginning of arm64 support: clang 3.5).
`__arm64__` is only defined for the Darwin OS on AArch64.
`defined(__aarch64__) || defined(__arm64__)` can be simplied as `defined(__aarch64__)`
Darwin AArch64 uses %% as the assembly separator (see AArch64MCAsmInfo.cpp).
Make the intention explicit in src/assembly.h
With this change, the libunwind code base has no reference of `__arm64__`/`__arm64`.
Reviewed By: #libunwind, ldionne, mstorsjo
Differential Revision: https://reviews.llvm.org/D77829
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
0 files changed, 0 insertions, 0 deletions