[all-commits] [llvm/llvm-project] 296ba5: [lld] Remove uses of %T from tests (#150740)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Jul 25 23:59:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 296ba58b5dfdf0fe53cb0ec59f63abbb441af086
      https://github.com/llvm/llvm-project/commit/296ba58b5dfdf0fe53cb0ec59f63abbb441af086
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M lld/test/COFF/nodefaultlib.test
    M lld/test/COFF/pdb-options.test
    M lld/test/COFF/pdb-type-server-invalid-signature.yaml
    M lld/test/COFF/wrap-lto-2.ll
    M lld/test/COFF/wrap-with-archive.s
    M lld/test/wasm/lto/save-temps.ll

  Log Message:
  -----------
  [lld] Remove uses of %T from tests (#150740)

%T has been deprecated for about seven years. It is to be avoided for
the most part given it does not create a unique directory per test. So,
remove it from lld tests with eventual intention of removing support
from llvm-lit.

Most of the cases in lld were not misusing the feature, using it to get
the directory that the test objects were in or as a path to pass for
-libpath. These cases all work perfectly well with a created directory
however and allow for the removal of %T to prevent incorrect usage.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list