zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f3bd49a5d8a8c12e46b930c81435e0306ec7ab46 (tree)
parent dbaea8d67e680121f4e917458a99bc538b473d9d
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Tue, 21 Apr 2026 21:58:27 +0200

libtsan: backport llvm/llvm-project#183411

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

Diffstat:
Mlib/libtsan/sanitizer_common/sanitizer_platform_limits_posix.cpp | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/libtsan/sanitizer_common/sanitizer_platform_limits_posix.cpp b/lib/libtsan/sanitizer_common/sanitizer_platform_limits_posix.cpp @@ -76,6 +76,7 @@ #include <sys/vt.h> #include <linux/cdrom.h> #include <linux/fd.h> +#include <linux/filter.h> #if SANITIZER_ANDROID #include <linux/fs.h> #endif @@ -516,6 +517,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); unsigned struct_synth_info_sz = sizeof(struct synth_info); unsigned struct_vt_mode_sz = sizeof(struct vt_mode); + unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); #endif // SANITIZER_LINUX #if SANITIZER_GLIBC @@ -543,7 +545,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); - unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); # endif // SANITIZER_GLIBC # if !SANITIZER_ANDROID && !SANITIZER_APPLE && !SANITIZER_HAIKU