.file "test.cpp" .tabletype __indirect_function_table, funcref .functype _Z3barv () -> (i32) .functype _Z11wasm_importi (i32) -> (i32) .import_module _Z11wasm_importi, foo .import_name _Z11wasm_importi, bar .functype _Z9extern_fnPFiiE (i32) -> (i32) .functype _GLOBAL__sub_I_test.cpp () -> () .section .text._Z3barv,"",@ .hidden _Z3barv # -- Begin function _Z3barv .globl _Z3barv .type _Z3barv,@function _Z3barv: # @_Z3barv .functype _Z3barv () -> (i32) # %bb.0: i32.const 0 i32.load _ZN1x15hidden_data_symE i32.const 0 i32.load defined_global call_indirect __indirect_function_table, (i32) -> (i32) i32.const 0 i32.load _ZN1x15hidden_data_symE call _Z11wasm_importi i32.add i32.const _Z11wasm_importi call _Z9extern_fnPFiiE i32.add # fallthrough-return end_function # -- End function .section .text._GLOBAL__sub_I_test.cpp,"",@ .type _GLOBAL__sub_I_test.cpp,@function # -- Begin function _GLOBAL__sub_I_test.cpp _GLOBAL__sub_I_test.cpp: # @_GLOBAL__sub_I_test.cpp .functype _GLOBAL__sub_I_test.cpp () -> () # %bb.0: i32.const 0 i32.const 0 i32.load extern_global i32.store defined_global # fallthrough-return end_function # -- End function .hidden defined_global # @defined_global .type defined_global,@object .section .bss.defined_global,"",@ .globl defined_global .p2align 2, 0x0 defined_global: .int32 0 .size defined_global, 4 .hidden _ZN1x15hidden_data_symE .section .init_array,"",@ .p2align 2, 0x0 .int32 _GLOBAL__sub_I_test.cpp .ident "clang version 20.1.8" .no_dead_strip __indirect_function_table .size extern_global, 4 .size _ZN1x15hidden_data_symE, 4 .section .custom_section.producers,"",@ .int8 1 .int8 12 .ascii "processed-by" .int8 1 .int8 5 .ascii "clang" .int8 6 .ascii "20.1.8" .section .init_array,"",@ .section .custom_section.target_features,"",@ .int8 8 .int8 43 .int8 11 .ascii "bulk-memory" .int8 43 .int8 15 .ascii "bulk-memory-opt" .int8 43 .int8 22 .ascii "call-indirect-overlong" .int8 43 .int8 10 .ascii "multivalue" .int8 43 .int8 15 .ascii "mutable-globals" .int8 43 .int8 19 .ascii "nontrapping-fptoint" .int8 43 .int8 15 .ascii "reference-types" .int8 43 .int8 8 .ascii "sign-ext" .section .init_array,"",@