This is an archive of the discontinued LLVM Phabricator instance.

[Darwin] Remove workaround for symbolication in iOS simulator runtimes
ClosedPublic

Authored by yln on Dec 14 2021, 4:40 PM.

Details

Summary

A while ago we added some code to the sanitizer runtimes for iOS
simulators to allow atos (external process) to inspect the sanitized
process during report generation to enable symbolication. This was done
by setting the __check_mach_ports_lookup env var early during process
startup which came with a couple of complications.

This workaround is not required anymore and removing it fixes TSan in
the iOS simulator after the new TSan runtime landed.
(https://reviews.llvm.org/D112603)

Relevant/reverted revisions:
https://reviews.llvm.org/D78178
https://reviews.llvm.org/D78179
https://reviews.llvm.org/D78525

rdar://86472733

Diff Detail

Event Timeline

yln requested review of this revision.Dec 14 2021, 4:40 PM
yln created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2021, 4:40 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kubamracek accepted this revision.Dec 15 2021, 10:09 AM
This revision is now accepted and ready to land.Dec 15 2021, 10:09 AM
This revision was landed with ongoing or failed builds.Dec 15 2021, 5:23 PM
This revision was automatically updated to reflect the committed changes.