summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-02 09:29:24 +0000
committerFangrui Song <maskray@google.com>2019-05-02 09:29:24 +0000
commitd8c2fa99c151cde7d09d1aa2515c8bb875046788 (patch)
tree617efff22a4156689f3796c432caae0c27a9239e
parent06a61ccc42ae55a35becc4c0516af2db1a3977f8 (diff)
downloadbcm5719-llvm-d8c2fa99c151cde7d09d1aa2515c8bb875046788.tar.gz
bcm5719-llvm-d8c2fa99c151cde7d09d1aa2515c8bb875046788.zip
[ELF] Delete a cant-write test from test/lto/thinlto-index-only.ll
The test is performed by thinlto-cant-write-index.ll llvm-svn: 359769
-rw-r--r--lld/test/ELF/lto/thinlto-index-only.ll10
1 files changed, 0 insertions, 10 deletions
diff --git a/lld/test/ELF/lto/thinlto-index-only.ll b/lld/test/ELF/lto/thinlto-index-only.ll
index 6263799ee2f..6396057c9a3 100644
--- a/lld/test/ELF/lto/thinlto-index-only.ll
+++ b/lld/test/ELF/lto/thinlto-index-only.ll
@@ -38,16 +38,6 @@
; RUN: ls %t1.o.thinlto.bc
; RUN: ls %t1.o.imports
-; Ensure lld generates an error if unable to write an empty index file
-; for lazy object file that is not added to link.
-; RUN: rm -f %t1.o.thinlto.bc
-; RUN: touch %t1.o.thinlto.bc
-; RUN: chmod 400 %t1.o.thinlto.bc
-; RUN: not ld.lld --plugin-opt=thinlto-index-only -shared %t2.o --start-lib %t1.o --end-lib \
-; RUN: -o %t3 2>&1 | FileCheck %s
-; CHECK: cannot open {{.*}}1.o.thinlto.bc: {{P|p}}ermission denied
-; RUN: rm -f %t1.o.thinlto.bc
-
; NM: T f
; The backend index for this module contains summaries from itself and
OpenPOWER on IntegriCloud