mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-21 04:46:17 +00:00

For each checked-in wasm file, make sure the there is corresponding .ll file that can be used to regenerate it if needed. Add test/Object/Inputs/trivial-object-test.wasm to match other formats and add some new wasm tests in test/Object. Differential Revision: https://reviews.llvm.org/D35213 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307585 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
400 B
Plaintext
12 lines
400 B
Plaintext
RUN: llvm-objdump -t %p/../Inputs/trivial.obj.wasm | FileCheck %s
|
|
|
|
CHECK: SYMBOL TABLE:
|
|
CHECK-NEXT: 00000000 l F IMPORT puts
|
|
CHECK-NEXT: 00000000 l F IMPORT SomeOtherFunction
|
|
CHECK-NEXT: 00000002 g F EXPORT main
|
|
CHECK-NEXT: 00000001 g EXPORT var
|
|
CHECK-NEXT: 00000000 l F name puts
|
|
CHECK-NEXT: 00000001 l F name SomeOtherFunction
|
|
CHECK-NEXT: 00000002 l F name main
|
|
|