comparison lld/test/COFF/locally-imported.test @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
1 # RUN: yaml2obj < %s > %t.obj 1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /out:%t.exe /entry:main %t.obj 2>&1 | FileCheck -check-prefix=WARN %s 2 # RUN: lld-link /out:%t.exe /entry:main %t.obj 2>&1 | FileCheck -check-prefix=WARN %s
3 # RUN: llvm-objdump -s %t.exe | FileCheck %s 3 # RUN: llvm-objdump -s %t.exe | FileCheck %s
4 # RUN: llvm-readobj --coff-basereloc %t.exe | FileCheck -check-prefix=BASEREL %s 4 # RUN: llvm-readobj --coff-basereloc %t.exe | FileCheck -check-prefix=BASEREL %s
5 5
6 # WARN: warning: [[INPUT:.+]]: locally defined symbol imported: main (defined in [[INPUT]]) 6 # WARN: warning: [[INPUT:.+]]: locally defined symbol imported: main (defined in [[INPUT]])