[PATCH] D137477: [lld] Check errors from expanding response files

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 21:35:59 PDT 2022


MaskRay accepted this revision.
MaskRay added a comment.
Herald added a subscriber: StephenFan.

LGTM.



================
Comment at: lld/test/ELF/basic.s:221
 
+# Test erroring on a recursive response file, but only once.
+# RUN: echo @%t.responsefile > %t.responsefile
----------------
For newer tests we use `## ` for non-RUN non-CHECK comments.


================
Comment at: lld/test/ELF/basic.s:224
+# RUN: not ld.lld %t @%t.responsefile 2>&1 | FileCheck %s --check-prefix=RECRSP
+# RECRSP: recursive expansion of: '{{.*}}.responsefile'
+# RECRSP-NOT: recursive expansion of
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137477



More information about the llvm-commits mailing list