summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2014-04-30 10:15:35 +0000
committerJames Molloy <james.molloy@arm.com>2014-04-30 10:15:35 +0000
commit7c39df37b22b1614b6c69f504badd1a38fdff740 (patch)
tree6d6772d31f39fad6182787f02810d91ff0786cc1 /llvm/lib
parentfa40368d9d83d676d8d520dce4d297277efe6b03 (diff)
downloadbcm5719-llvm-7c39df37b22b1614b6c69f504badd1a38fdff740.tar.gz
bcm5719-llvm-7c39df37b22b1614b6c69f504badd1a38fdff740.zip
[ARM64] Ensure arm64_be is dealt with when emitting debug info.
This is a partial port of r204816 (cpirker "Elf support for MC-JIT runtime dynamic linker") from AArch64 to ARM64. llvm-svn: 207625
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCObjectFileInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index ba132f450fb..4abdde1aa17 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/lib/MC/MCObjectFileInfo.cpp
@@ -291,7 +291,8 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) {
}
} else if (T.getArch() == Triple::aarch64 ||
T.getArch() == Triple::aarch64_be ||
- T.getArch() == Triple::arm64) {
+ T.getArch() == Triple::arm64 ||
+ T.getArch() == Triple::arm64_be) {
// The small model guarantees static code/data size < 4GB, but not where it
// will be in memory. Most of these could end up >2GB away so even a signed
// pc-relative 32-bit address is insufficient, theoretically.
OpenPOWER on IntegriCloud