brintos

brintos / llvm-project-archived public Read only

0
0
Text · 476 B · 8a5abf8 Raw
22 lines · plain
1; REQUIRES: x862;; Similar to ../wrap-defined.s but for LTO.3 4; RUN: llvm-as %s -o %t.o5; RUN: ld.lld -shared %t.o -wrap=bar -o %t.so6; RUN: llvm-objdump -d %t.so | FileCheck %s7 8; CHECK:      <_start>:9; CHECK-NEXT:   jmp {{.*}} <__wrap_bar@plt>10 11target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"12target triple = "x86_64-unknown-linux-gnu"13 14define void @bar() {15  ret void16}17 18define void @_start() {19  call void @bar()20  ret void21}22