1; RUN: llc -mtriple=wasm32-unknown-unknown -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s 2 3@foo = external global i32, align 4 4@bar = global i32* @foo, align 4 5 6define void @make_call(void ()* nocapture %func) { 7entry: 8 call void %func() 9 ret void 10} 11 12; CHECK: RELOCATION RECORDS FOR [CODE]: 13; CHECK-NEXT: 00000006 R_WEBASSEMBLY_TYPE_INDEX_LEB 1+0 14 15; CHECK: RELOCATION RECORDS FOR [DATA]: 16; CHECK-NEXT: 00000006 R_WEBASSEMBLY_MEMORY_ADDR_I32 foo+0 17