mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-07 16:42:34 +00:00
Drop the number of thinlto jobs in some tests to avoid crashing on 32-bit windows
This commit is contained in:
parent
23342bdcc8
commit
717a460867
@ -11,7 +11,7 @@
|
||||
; RUN: llvm-nm %T/thinlto/main.exe1.lto.obj | FileCheck %s
|
||||
; RUN: lld-link /lldsavetemps /out:%T/thinlto/main.exe /entry:main /subsystem:console %T/thinlto/main.obj %T/thinlto/foo.obj /opt:lldltojobs=all
|
||||
; RUN: llvm-nm %T/thinlto/main.exe1.lto.obj | FileCheck %s
|
||||
; RUN: lld-link /lldsavetemps /out:%T/thinlto/main.exe /entry:main /subsystem:console %T/thinlto/main.obj %T/thinlto/foo.obj /opt:lldltojobs=1000
|
||||
; RUN: lld-link /lldsavetemps /out:%T/thinlto/main.exe /entry:main /subsystem:console %T/thinlto/main.obj %T/thinlto/foo.obj /opt:lldltojobs=100
|
||||
; RUN: llvm-nm %T/thinlto/main.exe1.lto.obj | FileCheck %s
|
||||
; RUN: not lld-link /lldsavetemps /out:%T/thinlto/main.exe /entry:main /subsystem:console %T/thinlto/main.obj %T/thinlto/foo.obj /opt:lldltojobs=foo 2>&1 | FileCheck %s --check-prefix=BAD-JOBS
|
||||
; BAD-JOBS: error: /opt:lldltojobs: invalid job count: foo
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
; Test with many more threads than the system has
|
||||
; RUN: rm -f %t31.lto.o %t32.lto.o
|
||||
; RUN: ld.lld -save-temps --thinlto-jobs=1000 -shared %t1.o %t2.o -o %t3
|
||||
; RUN: ld.lld -save-temps --thinlto-jobs=100 -shared %t1.o %t2.o -o %t3
|
||||
; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1
|
||||
; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
; Test with many more threads than the system has
|
||||
; RUN: rm -f %t31.lto.o %t32.lto.o
|
||||
; RUN: wasm-ld -r -save-temps --thinlto-jobs=1000 %t1.o %t2.o -o %t3
|
||||
; RUN: wasm-ld -r -save-temps --thinlto-jobs=100 %t1.o %t2.o -o %t3
|
||||
; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1
|
||||
; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user