Changeset View
Changeset View
Standalone View
Standalone View
lld/test/ELF/bpf-lto-basic.s
- This file was added.
// REQUIRES: bpf | |||||
MaskRay: move to `test/ELF/lto`
Use `.bc` for bitcode file extension. | |||||
// RUN: llvm-as %S/Inputs/bpf-lto-basic-1.ll -o %t1 | |||||
// RUN: llvm-as %S/Inputs/bpf-lto-basic-2.ll -o %t2 | |||||
// RUN: ld.lld -r %t1 %t2 -o %t3 | |||||
// RUN: llvm-objdump -d --no-show-raw-insn %t3 | FileCheck %s | |||||
// RUN: llvm-readelf -r %t3 | FileCheck -check-prefix=RELOC %s | |||||
// RUN: llvm-readelf -x ".BTF" %t3 | FileCheck -check-prefix=BTF %s | |||||
// CHECK: <bar>: | |||||
// CHECK: call {{[0-9]+}} | |||||
MaskRayUnsubmitted Not Done ReplyInline Actions[[#]] MaskRay: `[[#]]` | |||||
// CHECK: call -1 | |||||
// CHECK: <add>: | |||||
// CHECK: <foo>: | |||||
// RELOC: R_BPF_64_32 {{[0-9a-f]+}} foo | |||||
// BTF: 9feb0100 | |||||
MaskRayUnsubmitted Not Done ReplyInline ActionsAdd a comment what the magic value is. MaskRay: Add a comment what the magic value is. | |||||
// BTF-NOT: 9feb0100 |
move to test/ELF/lto
Use .bc for bitcode file extension.