[all-commits] [llvm/llvm-project] 71c83f: [LLD] Improve the lit tests added by 272bd6f9cc86b...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Sep 19 04:47:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71c83fb8b618b4ed5142e62572ba73d5721dc828
      https://github.com/llvm/llvm-project/commit/71c83fb8b618b4ed5142e62572ba73d5721dc828
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M lld/test/ELF/lto/devirt_validate_vtable_typeinfos.ll
    M lld/test/ELF/lto/devirt_validate_vtable_typeinfos_no_rtti.ll
    M lld/test/ELF/lto/devirt_validate_vtable_typeinfos_ref.ll

  Log Message:
  -----------
  [LLD] Improve the lit tests added by 272bd6f9cc86bf6b4dd6bd51e85c46db10e8b86a

The `cp` command will copy the permission bits from the original file to
the new one, which will cause permission denied (no written access) for the
following "echo" command in some system.

Switch to use `cat` which is more robust.




More information about the All-commits mailing list