You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
16
external/llvm/test/Other/writing-to-stdout.ll
vendored
Normal file
16
external/llvm/test/Other/writing-to-stdout.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; REQUIRES: default_triple
|
||||
|
||||
; Often LLVM tools use "-" to indicate that output should be written to stdout
|
||||
; instead of a file. This behaviour is implemented by the raw_fd_ostream class.
|
||||
; This test verifies that when doing so multiple times we don't try to access a
|
||||
; closed STDOUT_FILENO. The exact options used in this test are unimportant, as
|
||||
; long as they write to stdout using raw_fd_ostream.
|
||||
; RUN: llc %s -o=- -pass-remarks-output=- -filetype=asm | FileCheck %s
|
||||
; foobar should appear as a function somewhere in the assembly file.
|
||||
; CHECK: foobar
|
||||
; !Analysis appears at the start of pass-remarks-output.
|
||||
; CHECK: !Analysis
|
||||
|
||||
define void @foobar() {
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user