MC-exceptions: add support for compact-unwind without .eh_frame
authorTim Northover <tnorthover@apple.com>
Sat, 29 Mar 2014 09:03:13 +0000 (09:03 +0000)
committerTim Northover <tnorthover@apple.com>
Sat, 29 Mar 2014 09:03:13 +0000 (09:03 +0000)
commitbc702ae152a40d025786eb6c3dabd139cf1509b1
treead3ac1bb3dbb19f1a5c1791c8c85bcb49fe6e201
parent1db780ba2244edf46f1f6880e5730511a9d5f12d
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
include/llvm/MC/MCObjectFileInfo.h
lib/MC/MCDwarf.cpp
lib/MC/MCObjectFileInfo.cpp