1; Ensure that symbols from module ASM are properly exported. 2; 3; Regression test for https://github.com/llvm/llvm-project/issues/85578. 4 5; RUN: llc -mtriple=wasm32-unknown-unknown -filetype=obj %s -o - | obj2yaml | FileCheck %s 6 7module asm "test_func:" 8module asm " .globl test_func" 9module asm " .functype test_func (i32) -> (i32)" 10module asm " .export_name test_func, test_export" 11module asm " end_function" 12 13; CHECK: - Type: TYPE 14; CHECK-NEXT: Signatures: 15; CHECK-NEXT: - Index: 0 16; CHECK-NEXT: ParamTypes: 17; CHECK-NEXT: - I32 18; CHECK-NEXT: ReturnTypes: 19; CHECK-NEXT: - I32 20 21; CHECK: - Type: EXPORT 22; CHECK-NEXT: Exports: 23; CHECK-NEXT: - Name: test_export 24; CHECK-NEXT: Kind: FUNCTION 25; CHECK-NEXT: Index: 0 26