summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/WebAssembly/custom-sections.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/WebAssembly/custom-sections.ll')
-rw-r--r--llvm/test/MC/WebAssembly/custom-sections.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/WebAssembly/custom-sections.ll b/llvm/test/MC/WebAssembly/custom-sections.ll
index 8ee04e0b044..f662d55352b 100644
--- a/llvm/test/MC/WebAssembly/custom-sections.ll
+++ b/llvm/test/MC/WebAssembly/custom-sections.ll
@@ -9,6 +9,9 @@ target triple = "wasm32-unknown-unknown"
!2 = !{ !"green", !"qux" }
!wasm.custom_sections = !{ !0, !1, !2 }
+!3 = !{ !"clang version 123"}
+!llvm.ident = !{!3}
+
; CHECK: Section {
; CHECK: Type: CUSTOM (0x0)
; CHECK: Size: 3
@@ -21,3 +24,9 @@ target triple = "wasm32-unknown-unknown"
; CHECK: Offset: 85
; CHECK: Name: green
; CHECK: }
+; CHECK: Section {
+; CHECK: Type: CUSTOM (0x0)
+; CHECK: Size: 25
+; CHECK: Offset: 118
+; CHECK: Name: producers
+; CHECK: }
OpenPOWER on IntegriCloud