mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-09 11:30:28 +00:00
Uncomment part of sanitizer patch, from <doko>
This commit is contained in:
parent
518f0fa5b4
commit
3d4b64df99
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
llvm-toolchain-16 (1:16.0.6-23) unstable; urgency=medium
|
||||
|
||||
[ Matthias Klose ]
|
||||
* Fix sanitizer build on 32bit time_t64 architectures.
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 11 Mar 2024 22:48:48 +0100
|
||||
|
||||
llvm-toolchain-16 (1:16.0.6-22) unstable; urgency=medium
|
||||
|
||||
[ Gianfranco Costamagna ]
|
||||
|
20
debian/patches/libsanitizer-timebits.diff
vendored
20
debian/patches/libsanitizer-timebits.diff
vendored
@ -10,13 +10,13 @@
|
||||
#include "sanitizer_platform.h"
|
||||
#if SANITIZER_SOLARIS
|
||||
# include <fcntl.h>
|
||||
#--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
#+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
#@@ -18,6 +18,7 @@
|
||||
# // depends on _FILE_OFFSET_BITS setting.
|
||||
# // To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below.
|
||||
# #undef _FILE_OFFSET_BITS
|
||||
#+#undef _TIME_BITS
|
||||
# #endif
|
||||
#
|
||||
# // Must go after undef _FILE_OFFSET_BITS.
|
||||
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
// depends on _FILE_OFFSET_BITS setting.
|
||||
// To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below.
|
||||
#undef _FILE_OFFSET_BITS
|
||||
+#undef _TIME_BITS
|
||||
#endif
|
||||
|
||||
// Must go after undef _FILE_OFFSET_BITS.
|
||||
|
Loading…
Reference in New Issue
Block a user