[all-commits] [llvm/llvm-project] 265a73: Use double hashes for non-run/check lines in lld/t...

Hans via All-commits all-commits at lists.llvm.org
Mon Nov 7 09:29:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 265a73043d34af25d88a238b84ed9c0c34321348
      https://github.com/llvm/llvm-project/commit/265a73043d34af25d88a238b84ed9c0c34321348
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M lld/test/ELF/basic.s

  Log Message:
  -----------
  Use double hashes for non-run/check lines in lld/test/ELF/basic.s


  Commit: 19a7939404a3b932c26cd2a6a29f0669acebd702
      https://github.com/llvm/llvm-project/commit/19a7939404a3b932c26cd2a6a29f0669acebd702
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M lld/test/ELF/basic.s
    M lld/tools/lld/lld.cpp

  Log Message:
  -----------
  [lld] Check errors from expanding response files

Previously the response file expansion code would print the error, but
lld would not exit, which was odd.

lld does response file expansion in the different drivers, but it's also
done in main() first, so it's enough to check there.

By checking for these errors we would have caught when D136090
introduced a bug that made lld print errors for response files which
contained "-rpath @foo".

Differental revision: https://reviews.llvm.org/D137477


Compare: https://github.com/llvm/llvm-project/compare/8f3f15c1a208...19a7939404a3


More information about the All-commits mailing list