[clang] 342b844 - [clang][PCH] Add x86 target requirement to PCH test (#241763)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 12 02:50:48 PST 2026
Author: Steffen Larsen
Date: 2026-11-12T10:50:43Z
New Revision: 342b8447062701d5efea8a57f1950e8cbf98ccb7
URL: https://github.com/llvm/llvm-project/commit/342b8447062701d5efea8a57f1950e8cbf98ccb7
DIFF: https://github.com/llvm/llvm-project/commit/342b8447062701d5efea8a57f1950e8cbf98ccb7.diff
LOG: [clang][PCH] Add x86 target requirement to PCH test (#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.
Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
Added:
Modified:
clang/test/PCH/pch-clangast-raw-section.c
Removed:
################################################################################
diff --git a/clang/test/PCH/pch-clangast-raw-section.c b/clang/test/PCH/pch-clangast-raw-section.c
index 500fa53cfb801..a34c26f236691 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
More information about the cfe-commits
mailing list