[all-commits] [llvm/llvm-project] efbf5f: [lld] Prefer printf over echo -e

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Sep 3 18:40:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efbf5f50f45c744922207d6ea692745d6c14599f
      https://github.com/llvm/llvm-project/commit/efbf5f50f45c744922207d6ea692745d6c14599f
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-09-04 (Thu, 04 Sep 2025)

  Changed paths:
    M lld/test/COFF/reloc-discarded.s
    M lld/test/ELF/msp430.s
    M lld/test/ELF/weak-shared-gc.s
    M lld/test/ELF/weak-undef-lib.s

  Log Message:
  -----------
  [lld] Prefer printf over echo -e

Otherwise we break some MacOS bots when using the lit internal shell
because /bin/echo on MacOS does not support -e. Using the external shell
we end up using the echo builtin to /bin/bash, which does support this.

The echo builtin implementation in lit does support this, but that is
currently not enabled in pipelines. Might be worth looking into fixing
at some point.



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