File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 33// Check that base-relocations for unresolved weak symbols will be omitted.
44
55// RUN: rm -rf %t.dir && split-file %s %t.dir && cd %t.dir
6- // RUN: llvm-mc -filetype=obj -triple=x86_64-mingw main.s -o main.o
7- // RUN: llvm-mc -filetype=obj -triple=x86_64-mingw other.s -o other.o
6+ // RUN: llvm-mc -filetype=obj -triple=x86_64-mingw main.s -o main.obj
7+ // RUN: llvm-mc -filetype=obj -triple=x86_64-mingw other.s -o other.obj
88
9- // RUN: ld. lld -m i386pep -dll -o other.dll other.o -entry= -- export-all-symbols --out- implib other.dll.a
10- // RUN: ld. lld -m i386pep -o main.exe main.o other.dll.a -e entry -- wrap foo --verbose
9+ // RUN: lld-link -lldmingw -machine:x64 -dll -out: other.dll other.obj -noentry - export:foo - implib: other.lib
10+ // RUN: lld-link -lldmingw -machine:x64 -out: main.exe main.obj other.lib - entry:entry - wrap: foo -debug:symtab
1111// RUN: llvm-readobj --sections --symbols --coff-imports --coff-basereloc main.exe | FileCheck %s --implicit-check-not=other.dll
1212
13- // CHECK: Number: 4
13+ // CHECK: Number: 3
1414// CHECK-NEXT: Name: .data
1515// CHECK-NEXT: VirtualSize:
16- // CHECK-NEXT: VirtualAddress: 0x[[#%x,SECTOP:0x4000 ]]
16+ // CHECK-NEXT: VirtualAddress: 0x[[#%x,SECTOP:0x3000 ]]
1717// CHECK: Name: ref_foo
1818// CHECK-NEXT: Value: [[#%d,SYMVAL:]]
1919// CHECK: BaseReloc [
You can’t perform that action at this time.
0 commit comments