1; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s 2 3target triple = "wasm32-unknown-unknown" 4 5; Function with __attribute__((visibility("default"))) 6define void @defaultVis() #0 { 7entry: 8 ret void 9} 10 11; Function with __attribute__((visibility("hidden"))) 12define hidden void @hiddenVis() #0 { 13entry: 14 ret void 15} 16 17; CHECK: SymbolTable: 18; CHECK-NEXT: - Index: 0 19; CHECK-NEXT: Kind: FUNCTION 20; CHECK-NEXT: Name: defaultVis 21; CHECK-NEXT: Flags: [ ] 22; CHECK-NEXT: Function: 0 23; CHECK-NEXT: - Index: 1 24; CHECK-NEXT: Kind: FUNCTION 25; CHECK-NEXT: Name: hiddenVis 26; CHECK-NEXT: Flags: [ VISIBILITY_HIDDEN ] 27; CHECK-NEXT: Function: 1 28; CHECK-NEXT: ... 29