[clang] [analyzer] Pin the target triple in Analysis/string-search-modeling.c (PR #213279)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 31 08:01:02 PDT 2026
=?utf-8?q?Balázs?= Benics <benicsbalazs at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/213279 at github.com>
================
@@ -1,6 +1,6 @@
// The u"" and U"" string literals below need C11 or later. Pin the standard
// because targets such as PS4 default to gnu99.
-// RUN: %clang_analyze_cc1 -std=c17 -verify %s \
+// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux-gnu -std=c17 -verify %s \
----------------
zhangweize9-cyber wrote:
Try using this command to quickly troubleshoot:
```bash
llvm-lit path/to/clang/test/Analysis/string-search-modeling.c
```
https://github.com/llvm/llvm-project/pull/213279
More information about the cfe-commits
mailing list