[Instrumentation] Fix a warning
[llvm-project.git] / llvm / test / tools / llvm-symbolizer / flush-output.s
blob070bf3fa3c86e3095b3af2a829f5e1a033c5946b
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.
9 foo:
10 nop
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 \
14 # RUN: | FileCheck %s
16 # CHECK: flush-output.s:10
17 # CHECK: ??:0