https://github.com/steffenlarsen created https://github.com/llvm/llvm-project/pull/241763
PCH/pch-clangast-raw-section.c was failing on non-x86 systems in post-commit testing of #237198. This is fixed by adding the appropriate target requirement to the test. >From 99b69928cb2ffa8223279d0b3091f4e06348f7d4 Mon Sep 17 00:00:00 2001 From: Steffen Holst Larsen <[email protected]> Date: Thu, 12 Nov 2026 04:00:30 -0600 Subject: [PATCH] [clang][PCH] Add x86 target requirement to PCH test PCH/pch-clangast-raw-section.c was failing on non-x86 systems in post-commit testing of #237198. This is fixed by adding the appropriate target requirement to the test. Signed-off-by: Steffen Holst Larsen <[email protected]> --- clang/test/PCH/pch-clangast-raw-section.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/test/PCH/pch-clangast-raw-section.c b/clang/test/PCH/pch-clangast-raw-section.c index 500fa53cfb8010..a34c26f2366918 100644 --- a/clang/test/PCH/pch-clangast-raw-section.c +++ b/clang/test/PCH/pch-clangast-raw-section.c @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-pch -fmodule-format=obj %S/pchpch1.h -o - | llvm-readelf --sections - | FileCheck %s // Ensure the serialized AST is emitted via llvm.raw.sections metadata into _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
