diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-25 03:35:28 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-25 03:35:28 +0000 |
| commit | 5b8a1bd4a2409f9ae5715911ba9c14203aeccf5e (patch) | |
| tree | 75e0317ed1ba045b31cbe381b0fa016a9970a9e5 /llvm/test | |
| parent | eb185e1f644105aadcc3fc1701dc2bbeafb05eae (diff) | |
| download | bcm5719-llvm-5b8a1bd4a2409f9ae5715911ba9c14203aeccf5e.tar.gz bcm5719-llvm-5b8a1bd4a2409f9ae5715911ba9c14203aeccf5e.zip | |
gold-plugin: Add the file path to the file open error diagnostic.
llvm-svn: 293013
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/gold/X86/error-unopenable.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/tools/gold/X86/error-unopenable.ll b/llvm/test/tools/gold/X86/error-unopenable.ll new file mode 100644 index 00000000000..c8532a5b187 --- /dev/null +++ b/llvm/test/tools/gold/X86/error-unopenable.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as -o %t %s +; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: --plugin-opt=obj-path=%T/nonexistent-dir/foo.o \ +; RUN: %t -o %t2 2>&1 | FileCheck %s + +; CHECK: Could not open file {{.*}}nonexistent-dir + +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" |

