summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/WebAssembly/custom-sections.ll
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-01-17 02:29:55 +0000
committerThomas Lively <tlively@google.com>2019-01-17 02:29:55 +0000
commitcbda16eb8ebf52e10a44bd6f15e2743d69e9632a (patch)
tree43a795712422a63a3f60e732ac9131ceaa0bfd32 /llvm/test/MC/WebAssembly/custom-sections.ll
parent2a0868ff48cbf9b3b57858c0f95b89607b69aac9 (diff)
downloadbcm5719-llvm-cbda16eb8ebf52e10a44bd6f15e2743d69e9632a.tar.gz
bcm5719-llvm-cbda16eb8ebf52e10a44bd6f15e2743d69e9632a.zip
[WebAssembly] Parse llvm.ident into producers section
llvm-svn: 351413
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