mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
c783eb28f7
The inferred output file name is based on the first input file, not the first one with extension .obj. The output file was also being written to the wrong directory; it needs to be written to whichever directory on the libpath it was found in. This change fixes both issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241710 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
456 B
Plaintext
16 lines
456 B
Plaintext
RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/a.obj %S/Inputs/a.s
|
|
RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/b.o %S/Inputs/b.s
|
|
RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/c %S/Inputs/b.s
|
|
|
|
RUN: rm -f %T/a.lib
|
|
RUN: llvm-lib %T/a.obj
|
|
RUN: test -e %T/a.lib
|
|
|
|
RUN: rm -f %T/b.lib
|
|
RUN: llvm-lib /libpath:%T b.o
|
|
RUN: test -e %T/b.lib
|
|
|
|
RUN: rm -f %T/c.lib
|
|
RUN: llvm-lib /libpath:%T c
|
|
RUN: test -e %T/c.lib
|