1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00
llvm-mirror/test/CodeGen/BPF/elf-symbol-information.ll
Yonghong Song f736220e9d [bpf] Test case for symbol information in object file
This patch tests the change introduced in r342556.

Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
llvm-svn: 342807
2018-09-22 17:31:01 +00:00

9 lines
248 B
LLVM

; 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
}