summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/DefinedAtom.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-02-01 23:56:27 +0000
committerPete Cooper <peter_cooper@apple.com>2016-02-01 23:56:27 +0000
commitab010737659e37fded8238f22665e24022628b8d (patch)
treef127ddde0301cb387b4925fa7a61b434c6a45b01 /lld/lib/Core/DefinedAtom.cpp
parentc2bad09cdd1ca9fe73a7339a7475c7e0f510213f (diff)
downloadbcm5719-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.cpp1
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:
OpenPOWER on IntegriCloud