18 lines · plain
1# REQUIRES: x86-registered-target2 3## If a process spawns llvm-symbolizer, and wishes to feed it addresses one at a4## time, llvm-symbolizer needs to flush its output after each input has been5## processed or the parent process will not be able to read the output and may6## deadlock. This test runs a script that simulates this situation for both a7## a good and bad input.8 9foo:10 nop11 12# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o -g13# RUN: %python %p/Inputs/flush-output.py llvm-symbolizer %t.o \14# RUN: | FileCheck %s15 16# CHECK: flush-output.s:1017# CHECK: ??:018