[llvm] [ThinLTO] Fix thinlto-bad-summary-5.ll in read-only environments (PR #209513)

Kyungtak Woo via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 10:47:25 PDT 2026


https://github.com/kevinwkt updated https://github.com/llvm/llvm-project/pull/209513

>From ef72395f319f19c9ecd1658f4021eb2e3855cf87 Mon Sep 17 00:00:00 2001
From: Kyungtak Woo <kevinwkt at google.com>
Date: Tue, 14 Jul 2026 15:24:54 +0000
Subject: [PATCH] fix: update tests for sandboxed

---
 llvm/test/Assembler/thinlto-bad-summary-5.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/test/Assembler/thinlto-bad-summary-5.ll b/llvm/test/Assembler/thinlto-bad-summary-5.ll
index 27ed18ad211fc..53af9adb0cfc1 100644
--- a/llvm/test/Assembler/thinlto-bad-summary-5.ll
+++ b/llvm/test/Assembler/thinlto-bad-summary-5.ll
@@ -1,7 +1,7 @@
 ; Test that we get an appropriate error when parsing a summary that does
 ; not have value info associated with a function definition.
 
-; RUN: not llvm-as %s 2>&1 | FileCheck %s
+; RUN: not llvm-as -o /dev/null %s 2>&1 | FileCheck %s
 
 ; CHECK: LLVM ERROR: expected function definition foo to have an associated value info.
 



More information about the llvm-commits mailing list