This is an archive of the discontinued LLVM Phabricator instance.

[MSan] Introduce insertWarningFn(). NFC
ClosedPublic

Authored by glider on Mar 15 2018, 4:26 AM.

Details

Summary

This is a step towards the upcoming KMSAN implementation patch.
KMSAN is going to use a different warning function, __msan_warning_32(uptr origin), so we'd better create the warning calls in one place.

Diff Detail

Repository
rL LLVM

Event Timeline

glider created this revision.Mar 15 2018, 4:26 AM
glider updated this revision to Diff 138545.Mar 15 2018, 7:21 AM

Formatted the diff with clang-format

glider updated this revision to Diff 138546.Mar 15 2018, 7:25 AM
glider updated this revision to Diff 138552.Mar 15 2018, 7:42 AM

Finally attached the formatted version.

eugenis accepted this revision.Mar 16 2018, 3:53 PM
This revision is now accepted and ready to land.Mar 16 2018, 3:53 PM
This revision was automatically updated to reflect the committed changes.