This is an archive of the discontinued LLVM Phabricator instance.

[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.2
ClosedPublic

Authored by yln on Jun 28 2019, 10:28 AM.

Details

Summary

Switch LongJmp over to lookup JmpBuf via plain old (unmangled) SP.
This makes the computation of mangled SPs in the TSan assembly files
unnecessary, which will be cleaned up in follow-up revisions.

Diff Detail

Repository
rL LLVM

Event Timeline

yln created this revision.Jun 28 2019, 10:28 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 28 2019, 10:28 AM
Herald added subscribers: llvm-commits, Restricted Project, kubamracek. · View Herald Transcript
dvyukov accepted this revision.Jul 1 2019, 2:19 AM

Looks good (if it does not break anything :))

This revision is now accepted and ready to land.Jul 1 2019, 2:19 AM
This revision was automatically updated to reflect the committed changes.