forked from OSchip/llvm-project
[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
This commit is contained in:
parent
09e02fbf51
commit
55b9156730
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue