mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
AArch64: remove arm64 triple enumerator.
Having both Triple::arm64 and Triple::aarch64 is extremely confusing, and invites bugs where only one is checked. In reality, the only legitimate difference between the two (arm64 usually means iOS) is also present in the OS part of the triple and that's what should be checked. We still parse the "arm64" triple, just canonicalise it to Triple::aarch64, so there aren't any LLVM-side test changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213743 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -525,8 +525,7 @@ void RuntimeDyldImpl::addRelocationForSymbol(const RelocationEntry &RE,
|
||||
|
||||
uint8_t *RuntimeDyldImpl::createStubFunction(uint8_t *Addr,
|
||||
unsigned AbiVariant) {
|
||||
if (Arch == Triple::aarch64 || Arch == Triple::aarch64_be ||
|
||||
Arch == Triple::arm64 || Arch == Triple::arm64_be) {
|
||||
if (Arch == Triple::aarch64 || Arch == Triple::aarch64_be) {
|
||||
// This stub has to be able to access the full address space,
|
||||
// since symbol lookup won't necessarily find a handy, in-range,
|
||||
// PLT stub for functions which could be anywhere.
|
||||
|
Reference in New Issue
Block a user