summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-xray/X86/no-such-file.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-xray/X86/no-such-file.txt')
-rw-r--r--llvm/test/tools/llvm-xray/X86/no-such-file.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-xray/X86/no-such-file.txt b/llvm/test/tools/llvm-xray/X86/no-such-file.txt
new file mode 100644
index 00000000000..0bc0b5b946a
--- /dev/null
+++ b/llvm/test/tools/llvm-xray/X86/no-such-file.txt
@@ -0,0 +1,4 @@
+; RUN: not llvm-xray extract no-such-file 2>&1 | FileCheck %s
+
+; CHECK: llvm-xray: Cannot extract instrumentation map from 'no-such-file'.
+; CHECK-NEXT: No such file or directory
OpenPOWER on IntegriCloud