summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/DefinedAtom.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-10-24 08:20:51 +0000
committerLang Hames <lhames@gmail.com>2015-10-24 08:20:51 +0000
commitb1b67f4daf3e981800ae978068efc94b78087a40 (patch)
treed3da58a4224410a172d3cd1488b1c89cebefc606 /lld/lib/Core/DefinedAtom.cpp
parent25ca34c727640ad2fc0ff79733f942b3e7f9808f (diff)
downloadbcm5719-llvm-b1b67f4daf3e981800ae978068efc94b78087a40.tar.gz
bcm5719-llvm-b1b67f4daf3e981800ae978068efc94b78087a40.zip
[lld][Darwin] Add support for the -sectcreate option.
llvm-svn: 251183
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 b3f81ca65a9..f1d308088ed 100644
--- a/lld/lib/Core/DefinedAtom.cpp
+++ b/lld/lib/Core/DefinedAtom.cpp
@@ -76,6 +76,7 @@ DefinedAtom::ContentPermissions DefinedAtom::permissions(ContentType type) {
case typeGnuLinkOnce:
case typeUnknown:
case typeTempLTO:
+ case typeSectCreate:
return permUnknown;
}
llvm_unreachable("unknown content type");
OpenPOWER on IntegriCloud