2 ;; Similar to ../wrap-defined.s but for LTO.
4 ; RUN: llvm-as %s -o %t.o
5 ; RUN: ld.lld -shared %t.o -wrap=bar -o %t.so
6 ; RUN: llvm-objdump -d %t.so | FileCheck %s
9 ; CHECK-NEXT: jmp {{.*}} <__wrap_bar@plt>
11 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
12 target triple = "x86_64-unknown-linux-gnu"
18 define void @_start() {