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 llvm-svn: 307585
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
|
|
|