mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc14, g++14, and gfortran14, respectively. This is the first release from the GCC 14 series. It largely is a copy of lang/gcc14-devel, with release-specific modifications from lang/gcc13. Common issues that could happen when porting code to GCC 14: https://gcc.gnu.org/gcc-14/porting_to.html Changes: https://gcc.gnu.org/gcc-14/changes.html
13 lines
589 B
C++
13 lines
589 B
C++
--- libsanitizer/asan/asan_thread.cpp.orig 2024-01-12 13:45:52 UTC
|
|
+++ libsanitizer/asan/asan_thread.cpp
|
|
@@ -323,7 +323,9 @@ void AsanThread::ClearShadowForThreadStackAndTLS() {
|
|
if (tls_begin_ != tls_end_) {
|
|
uptr tls_begin_aligned = RoundDownTo(tls_begin_, ASAN_SHADOW_GRANULARITY);
|
|
uptr tls_end_aligned = RoundUpTo(tls_end_, ASAN_SHADOW_GRANULARITY);
|
|
- FastPoisonShadow(tls_begin_aligned, tls_end_aligned - tls_begin_aligned, 0);
|
|
+ FastPoisonShadowPartialRightRedzone(tls_begin_aligned,
|
|
+ tls_end_ - tls_begin_aligned,
|
|
+ tls_end_aligned - tls_end_, 0);
|
|
}
|
|
}
|
|
|