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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lld/lib/Driver/DarwinLdDriver.cpp b/lld/lib/Driver/DarwinLdDriver.cpp
index 4dde6bae231..069ff3588fa 100644
--- a/lld/lib/Driver/DarwinLdDriver.cpp
+++ b/lld/lib/Driver/DarwinLdDriver.cpp
@@ -258,6 +258,10 @@ bool DarwinLdDriver::parse(int argc, const char *argv[],
ctx.appendLLVMOption((*it)->getValue());
}
+ // Handle -print_atoms a
+ if (parsedArgs->getLastArg(OPT_print_atoms))
+ ctx.setPrintAtoms();
+
std::unique_ptr<InputGraph> inputGraph(new InputGraph());
// Handle input files
OpenPOWER on IntegriCloud