Fix segfault in AArch64 backend with -g and -mbig-endian
authorOliver Stannard <oliver.stannard@arm.com>
Tue, 23 Sep 2014 15:38:11 +0000 (15:38 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Tue, 23 Sep 2014 15:38:11 +0000 (15:38 +0000)
commitabe1cb7985ff8480fc931484eb26b11a4469c683
tree76d6a27fabf5afc04bf316c7c33a6b3e6d8e519b
parenta6c580e8346810f6c93d3fa9891a00892609b409
Fix segfault in AArch64 backend with -g and -mbig-endian

Fix a null pointer dereference when trying to swap the endianness of
fixups in the .eh_frame section in the AArch64 backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218311 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
test/DebugInfo/AArch64/big-endian.ll [new file with mode: 0644]