summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/DarwinLdDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Driver/DarwinLdDriver.cpp')
-rw-r--r--lld/lib/Driver/DarwinLdDriver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/lib/Driver/DarwinLdDriver.cpp b/lld/lib/Driver/DarwinLdDriver.cpp
index 645a3efb650..723b6509395 100644
--- a/lld/lib/Driver/DarwinLdDriver.cpp
+++ b/lld/lib/Driver/DarwinLdDriver.cpp
@@ -658,6 +658,9 @@ bool DarwinLdDriver::parse(int argc, const char *argv[],
case OPT_upward_library:
addFile(arg->getValue(), inputGraph, ctx, false, true);
break;
+ case OPT_force_load:
+ addFile(arg->getValue(), inputGraph, ctx, true, false);
+ break;
case OPT_l:
case OPT_upward_l:
upward = (arg->getOption().getID() == OPT_upward_l);
OpenPOWER on IntegriCloud