[clang] [analyzer] Pin the target triple in Analysis/string-search-modeling.c (PR #213279)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 07:09:52 PDT 2026


steakhal wrote:

This approach isn't correct. The problem is that the analyzer indeed exposes the host target endianness inside the `getStringRefAtRegion` function when it calls `Lit->getBytes()`. Those bytes are in host order.

Pinning targets isn't really helpful for solving this.

https://github.com/llvm/llvm-project/pull/213279


More information about the cfe-commits mailing list