1 ; RUN: llc -mtriple=wasm32-unknown-unknown -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s
3 @foo = external global i32, align 4
4 @bar = global i32* @foo, align 4
6 define void @make_call(void ()* nocapture %func) {
12 ; CHECK: RELOCATION RECORDS FOR [CODE]:
13 ; CHECK-NEXT: 00000006 R_WASM_TYPE_INDEX_LEB 1+0
15 ; CHECK: RELOCATION RECORDS FOR [DATA]:
16 ; CHECK-NEXT: 00000006 R_WASM_MEMORY_ADDR_I32 foo+0