User Details
- User Since
- Jul 19 2016, 1:30 PM (342 w, 1 d)
Tue, Jan 17
Thu, Jan 12
Wed, Jan 11
Change printf format string to avoid typecast warning
Fix style per Vitaly's comments
Tue, Jan 10
Jan 9 2023
Jan 3 2023
Nov 30 2022
@vitalybuka I pushed this simple change without review, to (hopefully) fix the build. Please provide post-commit review.
Nov 29 2022
Nov 22 2022
Whitespace
Larger mappings
Nov 10 2022
Nov 8 2022
Remove unnnecessary app mapping
Removed comment about coverage of 39- and 42-bit mappings, since we have deprecated them.
(We still leave in the general comment about 39- and 42-bit segments, for reference.)
Aug 12 2016
Minor housekeeping: same as the sanitizer_common changes for lsan (GetTls() on 32-bit Android; and sig_setmask)
On 32-bit Android, GetTls() won't use __get_tls() (which is undefined)
Defines sig_setmask
Aug 11 2016
Add back the sanitizer_common/sanitizer_linux_libcdep.cc TLS changes from diff 3 - I accidentally omitted them.
All other files are the same as per diff 4.
Addresses previous comments
Aug 10 2016
Matches the changes in D23369, to use TLS_SLOT_TSAN only on Android (use the original variables on non-Android platforms).
Also adds named constants offsetof__msan_param_tls etc.
For non-Android, this keeps the ABI the same (uses the original variables).
For Android, this uses TLS_SLOT_TSAN.
This emits the TLS access code inline:
- using Intrinsic::thread_pointer and TLS_SLOT_TSAN if on Android
- using the regular GlobalVariable::InitialExecTLSModel if on non-Android
to match the changes in D23369.
Jul 27 2016
Jul 26 2016
This addresses all the previous comments
(use_tls is not overridden for Android, GetTls() updated instead to return the bionic TLS slots;
GetCurrentThread() changed to GetCurrentThread()->id, getCurrentTLS() changed to GetCurrentThread();
SIG_SETMASK copied from signal.h;
removed some unnecessary code and moved some code around)
Jul 22 2016
There's now an LsanThread struct containing all the thread-local variables. A pointer to the struct is returned from lsan_thread.cc::getCurrentTLS(), which is the single point where we distinguish between Android (use AndroidGetTls()) and non-Android (use THREADLOCAL).
Jul 21 2016
Jul 19 2016
Reuploaded with context
Reuploaded with context
#define SANITIZER_ANDROID is just a serving suggestion