diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-01-19 21:54:21 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-01-19 21:54:21 +0000 |
commit | 90dbab0b0d0e8ffe4ddb070d18e7f41f52c1c866 (patch) | |
tree | 182789928ec22e1aee9d37799c13fac4d7ca54dd /lld/lib/Core | |
parent | 38236b57503250de549e8f87903759dfeaeea8c6 (diff) | |
download | bcm5719-llvm-90dbab0b0d0e8ffe4ddb070d18e7f41f52c1c866.tar.gz bcm5719-llvm-90dbab0b0d0e8ffe4ddb070d18e7f41f52c1c866.zip |
Add an ObjCPass to the MachO linker.
This pass currently emits an objc image info section if one is required.
This section contains the aggregated version and flags for all of the input
files.
llvm-svn: 258197
Diffstat (limited to 'lld/lib/Core')
-rw-r--r-- | lld/lib/Core/DefinedAtom.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/Core/DefinedAtom.cpp b/lld/lib/Core/DefinedAtom.cpp index f1d308088ed..71d0f67ad40 100644 --- a/lld/lib/Core/DefinedAtom.cpp +++ b/lld/lib/Core/DefinedAtom.cpp @@ -43,6 +43,7 @@ DefinedAtom::ContentPermissions DefinedAtom::permissions(ContentType type) { case typeProcessedUnwindInfo: case typeRONote: case typeNoAlloc: + case typeObjCImageInfo: return permR__; case typeData: |