brintos

brintos / llvm-project-archived public Read only

0
0
Text · 389 B · 7c699b9 Raw
16 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj %s -o %t.o -triple=x86_64-pc-linux3// RUN: ld.lld %t.o %t.o -r -o %t2.o4// RUN: llvm-readobj -r %t2.o | FileCheck %s5 6.weak foo7foo:8.quad foo9 10// CHECK:      Relocations [11// CHECK-NEXT:   Section ({{.*}}) .rela.text {12// CHECK-NEXT:     0x0 R_X86_64_64 foo 0x013// CHECK-NEXT:     0x8 R_X86_64_64 foo 0x014// CHECK-NEXT:   }15// CHECK-NEXT: ]16