Commit 5433ba3
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 fa0971b commit 5433ba3
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
1227 | | - | |
1228 | | - | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1229 | 1231 | | |
1230 | 1232 | | |
1231 | 1233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
889 | | - | |
890 | | - | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
891 | 893 | | |
892 | 894 | | |
893 | 895 | | |
| |||
0 commit comments