FreeBSD Bugzilla – Attachment 187379 Details for
Bug 221337
-fsanitize=address (asan) fails on i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Ensure alignment of jemalloc's TSD is 8 bytes on 32-bit platforms
bug221337-align-jemalloc-tsd-1.diff (text/plain), 554 bytes, created by
Dimitry Andric
on 2017-10-22 21:57:30 UTC
(
hide
)
Description:
Ensure alignment of jemalloc's TSD is 8 bytes on 32-bit platforms
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2017-10-22 21:57:30 UTC
Size:
554 bytes
patch
obsolete
>Index: contrib/jemalloc/include/jemalloc/internal/tsd.h >=================================================================== >--- contrib/jemalloc/include/jemalloc/internal/tsd.h (revision 324489) >+++ contrib/jemalloc/include/jemalloc/internal/tsd.h (working copy) >@@ -120,7 +120,12 @@ > t use_a_getter_or_setter_instead_##n; > MALLOC_TSD > #undef O >-}; >+} >+#ifndef __LP64__ >+/* AddressSanitizer requires TLS data to be aligned at 8 bytes. */ >+JEMALLOC_ALIGNED(8) >+#endif >+; > > /* > * Wrapper around tsd_t that makes it possible to avoid implicit conversion
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221337
:
187379
|
187398