@@ -230,40 +230,8 @@ _start:
230
230
# RUN: FileCheck --check-prefix=CANNOT_OPEN %s
231
231
# CANNOT_OPEN: cannot open {{.*}}.no.such.file: {{[Nn]}}o such file or directory
232
232
233
- # RUN: not ld.lld %t -o 2>&1 | FileCheck --check-prefix=NO_O_VAL %s
234
- # NO_O_VAL: -o: missing argument
235
-
236
233
# RUN: not ld.lld --foo 2>&1 | FileCheck --check-prefix=UNKNOWN %s
237
234
# UNKNOWN: unknown argument '--foo'
238
235
239
- # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
240
- # RUN: not ld.lld %t %t -o /dev/null 2>&1 | FileCheck --check-prefix=DUP %s
241
- # DUP: duplicate symbol: _start
242
- # DUP-NEXT: >>> defined at {{.*}}:(.text+0x0)
243
- # DUP-NEXT: >>> defined at {{.*}}:(.text+0x0)
244
-
245
236
# RUN: not ld.lld %t -o /dev/null -m wrong_emul_fbsd 2>&1 | FileCheck --check-prefix=UNKNOWN_EMUL %s
246
237
# UNKNOWN_EMUL: unknown emulation: wrong_emul_fbsd
247
-
248
- # RUN: not ld.lld %t --lto-partitions=0 2>&1 | FileCheck --check-prefix=NOTHREADS %s
249
- # RUN: not ld.lld %t --plugin-opt=lto-partitions=0 2>&1 | FileCheck --check-prefix=NOTHREADS %s
250
- # NOTHREADS: --lto-partitions: number of threads must be > 0
251
-
252
- # RUN: ld.lld %t --thinlto-jobs=0 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
253
- # RUN: ld.lld %t --thinlto-jobs=1 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
254
- # RUN: ld.lld %t --thinlto-jobs=2 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
255
- # RUN: ld.lld %t --thinlto-jobs=all -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
256
- # RUN: ld.lld %t --thinlto-jobs=1000 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
257
- # THREADSTHIN: basic.s.tmp
258
- # RUN: not ld.lld %t --thinlto-jobs=foo -verbose 2>&1 | FileCheck --check-prefix=BADTHREADSTHIN %s
259
- # BADTHREADSTHIN: error: --thinlto-jobs: invalid job count: foo
260
-
261
- # RUN: ld.lld %t --plugin-opt=jobs=0 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
262
- # RUN: ld.lld %t --plugin-opt=jobs=1 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
263
- # RUN: ld.lld %t --plugin-opt=jobs=2 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
264
- # RUN: ld.lld %t --plugin-opt=jobs=all -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
265
- # RUN: ld.lld %t --plugin-opt=jobs=1000 -verbose 2>&1 | FileCheck --check-prefix=THREADSTHIN %s
266
- # RUN: not ld.lld %t --plugin-opt=jobs=foo -verbose 2>&1 | FileCheck --check-prefix=BADTHREADSTHIN %s
267
-
268
- # RUN: not ld.lld %t -z ifunc-noplt -z text 2>&1 | FileCheck --check-prefix=NOIFUNCPLTNOTEXTREL %s
269
- # NOIFUNCPLTNOTEXTREL: -z text and -z ifunc-noplt may not be used together
0 commit comments