This is an archive of the discontinued LLVM Phabricator instance.

[ASan] Fix TLS teardown.
ClosedPublic

Authored by hctim on Feb 17 2022, 12:57 PM.

Details

Summary

TLS teardown is currently broken, as we unpoison the shadow a little bit
and to the right of the TLS section, rather than the full TLS section
itself. This currently breaks at -O0, and breaks with some upcoming
globals code that I have.

Diff Detail

Event Timeline

hctim requested review of this revision.Feb 17 2022, 12:57 PM
hctim created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2022, 12:57 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Feb 17 2022, 1:13 PM

Thanks!

This revision is now accepted and ready to land.Feb 17 2022, 1:13 PM

Change LGTM but the description does not make any sense to me.

This revision was landed with ongoing or failed builds.Feb 17 2022, 1:34 PM
This revision was automatically updated to reflect the committed changes.