diff options
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/custom-sections.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/custom-sections.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/custom-sections.ll b/llvm/test/CodeGen/WebAssembly/custom-sections.ll index cf21b0af4fb..e92c0f8f3a8 100644 --- a/llvm/test/CodeGen/WebAssembly/custom-sections.ll +++ b/llvm/test/CodeGen/WebAssembly/custom-sections.ll @@ -10,6 +10,9 @@ target triple = "wasm32-unknown-unknown" !2 = !{ !"green", !"qux" } !wasm.custom_sections = !{ !0, !1, !2 } +!llvm.ident = !{!3} +!3 = !{!"clang version 123"} + ; CHECK: .section .custom_section.red,"",@ ; CHECK-NEXT: .ascii "foo" @@ -18,3 +21,13 @@ target triple = "wasm32-unknown-unknown" ; CHECK: .section .custom_section.green,"",@ ; CHECK-NEXT: .ascii "qux" + +; CHECK: .section .custom_section.producers,"",@ +; CHECK-NEXT: .int8 1 +; CHECK-NEXT: .int8 12 +; CHECK-NEXT: .ascii "processed-by" +; CHECK-NEXT: .int8 1 +; CHECK-NEXT: .int8 5 +; CHECK-NEXT: .ascii "clang" +; CHECK-NEXT: .int8 3 +; CHECK-NEXT: .ascii "123" |