Commit 69b8ba6
committed
[LDC] LLD: Avoid parsing
When invoking the integrated LLD from LDC, it somehow uses a different
global LLVM command-line parser, one with no registered options, so
parsing is guaranteed to fail, even if there are no args.
[It's only needed for LTO codegen options anyway.]-mllvm* command-line options if there aren't any1 parent 7cbf1a2 commit 69b8ba6
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | | - | |
1440 | | - | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
1441 | 1443 | | |
1442 | 1444 | | |
1443 | 1445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
1068 | | - | |
1069 | | - | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1070 | 1072 | | |
1071 | 1073 | | |
1072 | 1074 | | |
| |||
0 commit comments