FileCheck tool crashes when trying to parse check prefix if there is no any lines after it.
For example following test would crash if there is no symbols (no EOL mark) after boom:
# REQUIRES: x86 # RUN: <skipped few lines> # RUN: llvm-readobj -t %t | FileCheck %s --check-prefix=boom
Patch fixes the issue.