summaryrefslogtreecommitdiff
path: root/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-03-29 09:03:13 +0000
committerTim Northover <tnorthover@apple.com>2014-03-29 09:03:13 +0000
commitbc702ae152a40d025786eb6c3dabd139cf1509b1 (patch)
treead3ac1bb3dbb19f1a5c1791c8c85bcb49fe6e201 /lib/MC/MCObjectFileInfo.cpp
parent1db780ba2244edf46f1f6880e5730511a9d5f12d (diff)
downloadllvm-bc702ae152a40d025786eb6c3dabd139cf1509b1.tar.gz
llvm-bc702ae152a40d025786eb6c3dabd139cf1509b1.tar.bz2
llvm-bc702ae152a40d025786eb6c3dabd139cf1509b1.tar.xz
MC-exceptions: add support for compact-unwind without .eh_frame
ARM64 has compact-unwind information, but doesn't necessarily want to emit .eh_frame directives as well. This teaches MC about such a situation so that it will skip .eh_frame info when compact unwind has been successfully produced. For functions incompatible with compact unwind, the normal information is still written. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCObjectFileInfo.cpp')
-rw-r--r--lib/MC/MCObjectFileInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp
index 87ff0d359d..e808d0ca6e 100644
--- a/lib/MC/MCObjectFileInfo.cpp
+++ b/lib/MC/MCObjectFileInfo.cpp
@@ -743,6 +743,7 @@ void MCObjectFileInfo::InitMCObjectFileInfo(StringRef TT, Reloc::Model relocm,
CommDirectiveSupportsAlignment = true;
SupportsWeakOmittedEHFrame = true;
IsFunctionEHFrameSymbolPrivate = true;
+ SupportsCompactUnwindWithoutEHFrame = false;
PersonalityEncoding = LSDAEncoding = FDEEncoding = FDECFIEncoding =
TTypeEncoding = dwarf::DW_EH_PE_absptr;