2017-07-19 02:40:50 +08:00
|
|
|
REQUIRES: x86
|
2017-04-29 01:06:40 +08:00
|
|
|
RUN: mkdir -p %t
|
|
|
|
RUN: llvm-mc -triple i686-unknown-windows-msvc -filetype obj -o %t/import.o %S/Inputs/constant-import.s
|
|
|
|
RUN: llc -mtriple i686-unknown-windows-msvc -filetype obj -o %t/export.o %S/Inputs/constant-export.ll
|
|
|
|
RUN: lld-link -machine:x86 -dll -out:%t/export.dll %t/export.o -entry:__CFConstantStringClassReference
|
|
|
|
RUN: lld-link -machine:x86 -dll -out:%t/import.dll %t/import.o %t/export.lib
|