mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
2e3cf28bca
Differential Revision: https://reviews.llvm.org/D47398 llvm-svn: 333494
15 lines
586 B
LLVM
15 lines
586 B
LLVM
; Check that there is no persistent state in the WabAssembly emitter that cause
|
|
; issues when reusing the pass manager.
|
|
; RUN: llc -mtriple=wasm32-unknown-unknown -compile-twice -filetype=obj %s -o -
|
|
|
|
; Force the creation of a DWARF section
|
|
!llvm.dbg.cu = !{!0}
|
|
!llvm.module.flags = !{!3, !4}
|
|
|
|
@myglobal = global i32 0, align 4
|
|
|
|
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "LLVM", isOptimized: true, emissionKind: FullDebug)
|
|
!1 = !DIFile(filename: "<stdin>", directory: "/")
|
|
!3 = !{i32 2, !"Dwarf Version", i32 4}
|
|
!4 = !{i32 2, !"Debug Info Version", i32 3}
|