[PATCH] D46731: Splitting thinlto.ll test file and renaming other test files.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 15:50:54 PDT 2018


ruiu added a comment.

Looks great. Thank you for doing this.



================
Comment at: lld/test/ELF/lto/thinlto-index-file.ll:8-13
+; Ensure lld generates error if unable to write to index files
+; RUN: rm -f %t4.o.thinlto.bc
+; RUN: touch %t4.o.thinlto.bc
+; RUN: chmod 400 %t4.o.thinlto.bc
+; RUN: not ld.lld -m elf_x86_64 --plugin-opt=thinlto-index-only -shared %t.o %t4.o -o %t5 2>&1 | FileCheck %s --check-prefix=ERR
+; ERR: cannot open {{.*}}4.o.thinlto.bc: {{P|p}}ermission denied
----------------
Could you factor this test to a separate file?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46731





More information about the llvm-commits mailing list