[PATCH] D127778: [LTO][ELF] Add selective --save-temps= option

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 11:54:29 PDT 2022


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lld/test/ELF/lto/save-temps-eq.ll:60
+;; Check opt
+; RUN: ld.lld main.o thin1.o --save-temps=%\opt
+; RUN: cmp %t/all/a.out a.out && rm -f a.out
----------------
MaskRay wrote:
> I am confused. What does this `%\opt` do?
Ah, ok. If this is to avoid lit substitution, does `'opt'` work?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127778



More information about the llvm-commits mailing list