aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commitd1c6f51730514611c3b112df9b911e5abdab9775 (patch)
tree10ebff61ac17c603c1474ab7b2283cd3495446f8 /llvm/lib/MC/MCObjectFileInfo.cpp
parentcea0abb60a6c075941017733fb1e4c789c7ee1e3 (diff)
downloadllvm-d1c6f51730514611c3b112df9b911e5abdab9775.zip
llvm-d1c6f51730514611c3b112df9b911e5abdab9775.tar.gz
llvm-d1c6f51730514611c3b112df9b911e5abdab9775.tar.bz2
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. llvm-svn: 205087
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r--llvm/lib/MC/MCObjectFileInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index 87ff0d3..e808d0c 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/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;