Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/CodeGen/BPF/reloc.ll
Show All 28 Lines | ; <label>:10 ; preds = %0 | ||||
%12 = call i32 (i8*, i32, ...) inttoptr (i64 11 to i32 (i8*, i32, ...)*)(i8* %11, i32 15, %struct.sk_buff* %4, i8* %7) #1 | %12 = call i32 (i8*, i32, ...) inttoptr (i64 11 to i32 (i8*, i32, ...)*)(i8* %11, i32 15, %struct.sk_buff* %4, i8* %7) #1 | ||||
br label %13 | br label %13 | ||||
; <label>:13 ; preds = %10, %0 | ; <label>:13 ; preds = %10, %0 | ||||
ret i32 0 | ret i32 0 | ||||
; CHECK-RELOC: file format elf64-bpf | ; CHECK-RELOC: file format elf64-bpf | ||||
; CHECK-RELOC: RELOCATION RECORDS FOR [.eh_frame]: | ; CHECK-RELOC: RELOCATION RECORDS FOR [.eh_frame]: | ||||
; CHECK-RELOC: R_BPF_64_64 events/net/netif_receive_skb | ; CHECK-RELOC: R_BPF_64_ABS64 events/net/netif_receive_skb | ||||
} | } | ||||
; Function Attrs: nounwind | ; Function Attrs: nounwind | ||||
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i1) #1 | declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i1) #1 | ||||
attributes #0 = { norecurse } | attributes #0 = { norecurse } |