This is an archive of the discontinued LLVM Phabricator instance.

HWASan exception support.
ClosedPublic

Authored by eugenis on May 15 2019, 4:19 PM.

Details

Summary

Adds a call to __hwasan_handle_vfork(SP) at each landingpad entry.

Reusing __hwasan_handle_vfork instead of introducing a new runtime call
in order to be ABI-compatible with old runtime library.

Diff Detail

Event Timeline

eugenis created this revision.May 15 2019, 4:19 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 15 2019, 4:19 PM
Herald added subscribers: Restricted Project, hiraditya, kubamracek. · View Herald Transcript
Harbormaster completed remote builds in B31954: Diff 199697.
eugenis updated this revision to Diff 199891.May 16 2019, 1:46 PM

+ IR test

pcc accepted this revision.May 16 2019, 4:35 PM

LGTM

This revision is now accepted and ready to land.May 16 2019, 4:35 PM
This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.May 17 2019, 5:53 AM

The test added here doesn't pass on our bots. I filed https://bugs.llvm.org/show_bug.cgi?id=41923 for that.