diff options
-rw-r--r-- | llvm/test/CodeGen/BPF/elf-symbol-information.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/BPF/elf-symbol-information.ll b/llvm/test/CodeGen/BPF/elf-symbol-information.ll new file mode 100644 index 00000000000..37af7eddea5 --- /dev/null +++ b/llvm/test/CodeGen/BPF/elf-symbol-information.ll @@ -0,0 +1,8 @@ +; RUN: llc -march=bpfel -filetype=obj -o - %s | llvm-readelf --symbols | FileCheck %s + +; CHECK: 0 FILE LOCAL DEFAULT ABS elf-symbol-information.ll +; CHECK: 8 FUNC GLOBAL DEFAULT 2 test_func +define void @test_func() { +entry: + ret void +} |