1 # REQUIRES: x86-registered-target
3 ## If a process spawns llvm-symbolizer, and wishes to feed it addresses one at a
4 ## time, llvm-symbolizer needs to flush its output after each input has been
5 ## processed or the parent process will not be able to read the output and may
6 ## deadlock. This test runs a script that simulates this situation for both a
7 ## a good and bad input.
12 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o -g
13 # RUN: %python %p/Inputs/flush-output.py llvm-symbolizer %t.o \
16 # CHECK: flush-output.s:10