mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-31 06:04:58 +00:00
[LLD][COFF] Restrict the failifmismatch test to x86_64-windows-msvc because the ELF container doesn't support llvm.linker.options meta-data with only one operand.
llvm-svn: 355602
This commit is contained in:
parent
7eb66ba14a
commit
a5ecceed1f
@ -1,3 +1,5 @@
|
||||
REQUIRES: x86
|
||||
|
||||
RUN: lld-link /entry:main /subsystem:console /out:%t.exe \
|
||||
RUN: %p/Inputs/ret42.obj
|
||||
|
||||
@ -10,8 +12,8 @@ RUN: %p/Inputs/ret42.obj /failifmismatch:k1=v1 /failifmismatch:k1=v1
|
||||
RUN: not lld-link /entry:main /subsystem:console /out:%t.exe \
|
||||
RUN: %p/Inputs/ret42.obj /failifmismatch:k1=v1 /failifmismatch:k1=v2 2>&1 | FileCheck %s
|
||||
|
||||
RUN: llc < %p/Inputs/failmismatch1.ll -filetype obj -o %t1.obj
|
||||
RUN: llc < %p/Inputs/failmismatch2.ll -filetype obj -o %t2.obj
|
||||
RUN: llc < %p/Inputs/failmismatch1.ll -mtriple x86_64-windows-msvc -filetype obj -o %t1.obj
|
||||
RUN: llc < %p/Inputs/failmismatch2.ll -mtriple x86_64-windows-msvc -filetype obj -o %t2.obj
|
||||
RUN: not lld-link %t1.obj %t2.obj 2>&1 | FileCheck %s -check-prefix OBJ
|
||||
|
||||
RUN: llvm-lib %t1.obj /out:%t.lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user