summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/DefinedAtom.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-09-30 21:29:54 +0000
committerTim Northover <tnorthover@apple.com>2014-09-30 21:29:54 +0000
commitcf78d37fd65f273e3db55c585105e3f310cadf39 (patch)
tree5371262ceecd6743184306b9663c346ab52d5e3b /lld/lib/Core/DefinedAtom.cpp
parente1c79749ca96a704556c46a8e9140244a9bbdfed (diff)
downloadbcm5719-llvm-cf78d37fd65f273e3db55c585105e3f310cadf39.tar.gz
bcm5719-llvm-cf78d37fd65f273e3db55c585105e3f310cadf39.zip
[mach-o] create __unwind_info section on x86_64
This is a minimally useful pass to construct the __unwind_info section in a final object from the various __compact_unwind inputs. Currently it doesn't produce any compressed pages, only works for x86_64 and will fail if any function ends up without __compact_unwind. rdar://problem/18208653 llvm-svn: 218703
Diffstat (limited to 'lld/lib/Core/DefinedAtom.cpp')
-rw-r--r--lld/lib/Core/DefinedAtom.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/Core/DefinedAtom.cpp b/lld/lib/Core/DefinedAtom.cpp
index 806bd6f4521..f000f741900 100644
--- a/lld/lib/Core/DefinedAtom.cpp
+++ b/lld/lib/Core/DefinedAtom.cpp
@@ -41,6 +41,7 @@ DefinedAtom::ContentPermissions DefinedAtom::permissions(ContentType type) {
case typeLiteral16:
case typeDTraceDOF:
case typeCompactUnwindInfo:
+ case typeProcessedUnwindInfo:
case typeRONote:
case typeNoAlloc:
return permR__;
OpenPOWER on IntegriCloud