Commit 276022b
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 8dfdcc7 commit 276022b
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1424 | 1424 | | |
1425 | 1425 | | |
1426 | 1426 | | |
1427 | | - | |
1428 | | - | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
1429 | 1431 | | |
1430 | 1432 | | |
1431 | 1433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
884 | | - | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
885 | 887 | | |
886 | 888 | | |
887 | 889 | | |
| |||
0 commit comments