brintos

brintos / llvm-project-archived public Read only

0
0
Text · 648 B · ea1aa35 Raw
19 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o3// RUN: not ld.lld --vs-diagnostics %t1.o -o /dev/null 2>&1 \4// RUN:   | FileCheck -check-prefix=ERR -check-prefix=CHECK %s5// RUN: ld.lld --vs-diagnostics --warn-unresolved-symbols %t1.o -o %tout 2>&1 \6// RUN:   | FileCheck -check-prefix=WARN -check-prefix=CHECK %s7 8// ERR:        {{.*}}ld.lld{{.*}}: error: undefined symbol: foo9// WARN:       {{.*}}ld.lld{{.*}}: warning: undefined symbol: foo10// CHECK-NEXT: >>> referenced by undef2.s11// CHECK-NEXT: >>>               {{.*}}1.o:(.text+0x{{.+}})12 13.file "undef2.s"14 15.global _start, foo16.text17_start:18  jmp foo19