summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/lib/Driver/DarwinLdDriver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/lib/Driver/DarwinLdDriver.cpp b/lld/lib/Driver/DarwinLdDriver.cpp
index 723b6509395..86f19e31cac 100644
--- a/lld/lib/Driver/DarwinLdDriver.cpp
+++ b/lld/lib/Driver/DarwinLdDriver.cpp
@@ -641,9 +641,8 @@ bool DarwinLdDriver::parse(int argc, const char *argv[],
}
// Handle debug info handling options: -S
- if (parsedArgs->hasArg(OPT_S)) {
+ if (parsedArgs->hasArg(OPT_S))
ctx.setDebugInfoMode(MachOLinkingContext::DebugInfoMode::noDebugMap);
- }
// Handle input files
for (auto &arg : *parsedArgs) {
OpenPOWER on IntegriCloud