reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ; RUN: llc -filetype=obj -mtriple=wasm32-unknown-unknown -o %t.o %s ; RUN: llvm-nm --extern-only %t.o | FileCheck %s ; Verity that hidden symbols are listed even when --extern-only is passed define hidden i32 @foo() { entry: ret i32 42 } define i32 @bar() { entry: ret i32 43 } define internal i32 @baz() { entry: ret i32 44 } ; CHECK: 00000006 T bar ; CHECK-NOT: baz ; CHECK: 00000001 T foo |