[all-commits] [llvm/llvm-project] d218bc: [ThinLTO] Fix thinlto-bad-summary-5.ll in read-onl...

Kyungtak Woo via All-commits all-commits at lists.llvm.org
Tue Jul 14 12:43:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d218bc40aba65687ddc2fb616a154b2799631f0f
      https://github.com/llvm/llvm-project/commit/d218bc40aba65687ddc2fb616a154b2799631f0f
  Author: Kyungtak Woo <kevinwkt at google.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/test/Assembler/thinlto-bad-summary-5.ll

  Log Message:
  -----------
  [ThinLTO] Fix thinlto-bad-summary-5.ll in read-only environments (#209513)

The test thinlto-bad-summary-5.ll was failing in read-only environments
(such as sandboxed test runners) because it attempted to write the
output bitcode file to the same directory as the input file, resulting
in a "Permission denied" error.

Fix this by redirecting the output to /dev/null using `-o /dev/null`.
We cannot use `-disable-output` here because the error we want to
test is triggered inside the BitcodeWriter, which is bypassed when
output is disabled.

assisted by gemini



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