summaryrefslogtreecommitdiffstats
path: root/build/build-clang/partial-revert-llvmorg-16-init-17151-gaa0883b59ae1_clang_17.patch
blob: f95caa508b6d65492c05c1f967d58d0970900380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lld/MachO/LTO.cpp b/lld/MachO/LTO.cpp
index fdae7e4bd1b7..ac607cfb1100 100644
--- a/lld/MachO/LTO.cpp
+++ b/lld/MachO/LTO.cpp
@@ -64,8 +64,6 @@ static lto::Config createConfig() {
     pm.add(createObjCARCContractPass());
   };
 
-  c.AlwaysEmitRegularLTOObj = !config->ltoObjPath.empty();
-
   c.TimeTraceEnabled = config->timeTraceEnabled;
   c.TimeTraceGranularity = config->timeTraceGranularity;
   c.DebugPassManager = config->ltoDebugPassManager;