1 ; RUN: llc -filetype=obj %s -o - | llvm-readobj -S - | FileCheck %s
3 ; Test the mechanism for defining user custom sections.
5 target triple = "wasm32-unknown-unknown"
7 !0 = !{ !"red", !"foo" }
8 !1 = !{ !"green", !"bar" }
9 !2 = !{ !"green", !"qux" }
10 !wasm.custom_sections = !{ !0, !1, !2 }
12 !3 = !{ !"clang version 123"}
16 ; CHECK: Type: CUSTOM (0x0)
22 ; CHECK: Type: CUSTOM (0x0)
28 ; CHECK: Type: CUSTOM (0x0)
31 ; CHECK: Name: producers