brintos

brintos / llvm-project-archived public Read only

0
0
Text · 460 B · f59adce Raw
16 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/resolution-shared.s -o %t2.o4// RUN: ld.lld %t2.o -o %t2.so -shared5// RUN: ld.lld %t.o %t2.so -o %t3 -shared6// RUN: llvm-readobj --symbols %t3 | FileCheck %s7 8        .weak foo9foo:10 11// CHECK:      Symbol {12// CHECK:        Name: foo13// CHECK-NEXT:   Value:14// CHECK-NEXT:   Size:15// CHECK-NEXT:   Binding: Weak16