[PATCH] D75426: [LTO] onfig::addSaveTemps: clear ResolutionFile upon an error

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 13:47:16 PST 2020


hoyFB added inline comments.


================
Comment at: lld/test/ELF/lto/resolution-err.ll:5
+; RUN: touch %t.resolution.txt
+; RUN: chmod -w %t.resolution.txt
+; RUN: not ld.lld -save-temps %t.bc -o %t 2>&1 | FileCheck %s
----------------
The chmod is an issue when the test is run on a server without root access. Do you have an suggestion how to make it work? Thanks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75426/new/

https://reviews.llvm.org/D75426





More information about the llvm-commits mailing list