diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-02-01 23:56:27 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-02-01 23:56:27 +0000 |
commit | ab010737659e37fded8238f22665e24022628b8d (patch) | |
tree | f127ddde0301cb387b4925fa7a61b434c6a45b01 /lld/lib/Core/DefinedAtom.cpp | |
parent | c2bad09cdd1ca9fe73a7339a7475c7e0f510213f (diff) | |
download | bcm5719-llvm-ab010737659e37fded8238f22665e24022628b8d.tar.gz bcm5719-llvm-ab010737659e37fded8238f22665e24022628b8d.zip |
Add ObjC method list atom type. NFC.
An upcoming patch will use this to create lists of ObjC methods.
Adding it now to reduce the amount of code in that patch.
Test cases will follow in the other patch too.
llvm-svn: 259440
Diffstat (limited to 'lld/lib/Core/DefinedAtom.cpp')
-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 71d0f67ad40..1e56f665205 100644 --- a/lld/lib/Core/DefinedAtom.cpp +++ b/lld/lib/Core/DefinedAtom.cpp @@ -44,6 +44,7 @@ DefinedAtom::ContentPermissions DefinedAtom::permissions(ContentType type) { case typeRONote: case typeNoAlloc: case typeObjCImageInfo: + case typeObjCMethodList: return permR__; case typeData: |