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 e92c0f8f3a8..78fe3c5458f 100644 --- a/llvm/test/CodeGen/WebAssembly/custom-sections.ll +++ b/llvm/test/CodeGen/WebAssembly/custom-sections.ll @@ -13,6 +13,13 @@ target triple = "wasm32-unknown-unknown" !llvm.ident = !{!3} !3 = !{!"clang version 123"} +!llvm.module.flags = !{!4} +!4 = !{i32 2, !"Debug Info Version", i32 3} + +!llvm.dbg.cu = !{!5} +!5 = distinct !DICompileUnit(language: DW_LANG_C99, file: !6) +!6 = !DIFile(filename: "test", directory: "testdir") + ; CHECK: .section .custom_section.red,"",@ ; CHECK-NEXT: .ascii "foo" @@ -23,7 +30,13 @@ target triple = "wasm32-unknown-unknown" ; CHECK-NEXT: .ascii "qux" ; CHECK: .section .custom_section.producers,"",@ +; CHECK-NEXT: .int8 2 +; CHECK-NEXT: .int8 8 +; CHECK-NEXT: .ascii "language" ; CHECK-NEXT: .int8 1 +; CHECK-NEXT: .int8 3 +; CHECK-NEXT: .ascii "C99" +; CHECK-NEXT: .int8 0 ; CHECK-NEXT: .int8 12 ; CHECK-NEXT: .ascii "processed-by" ; CHECK-NEXT: .int8 1 |

