This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Disable use_tls_dynamic on non-Android x86 Linux.
ClosedPublic

Authored by oontvoo on Nov 28 2020, 6:09 PM.

Diff Detail

Event Timeline

oontvoo created this revision.Nov 28 2020, 6:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2020, 6:09 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
oontvoo requested review of this revision.Nov 28 2020, 6:09 PM
oontvoo retitled this revision from [sanitizer] Disable use_tls_dynamic on on-Android x86 Linux. to [sanitizer] Disable use_tls_dynamic on non-Android x86 Linux..Nov 28 2020, 6:15 PM
thakis added inline comments.Nov 28 2020, 7:49 PM
compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cpp
13

I think we only want to disable it on 32-bit (non-android) linux -- does i386-linux && !android work, to restore the pre D89884 state as much as possible?

oontvoo updated this revision to Diff 308211.Nov 29 2020, 6:14 AM
oontvoo marked an inline comment as done.

s/x86/i386-linux

thakis accepted this revision.Nov 29 2020, 5:58 PM

Thanks!

This revision is now accepted and ready to land.Nov 29 2020, 5:58 PM