This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Add dn_comp interceptor
ClosedPublic

Authored by vitalybuka on Jul 6 2022, 9:21 PM.

Diff Detail

Event Timeline

vitalybuka created this revision.Jul 6 2022, 9:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2022, 9:21 PM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.Jul 6 2022, 9:21 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added subscribers: Restricted Project, sstefan1. · View Herald Transcript
kda added inline comments.Aug 5 2022, 9:53 AM
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
2538

nit: alphabetize the interceptors, as you alphabetized the def (... DN_COMP_EXPAND).
likewise in all cases below.

vitalybuka added inline comments.Aug 5 2022, 11:02 AM
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
2538

Sorry, I am not sure what are you asking to do.

kda added a comment.Aug 5 2022, 1:28 PM

The define is COMP then EXPAND.

How about making all the code have 'comp' first and then 'expand' second.

vitalybuka updated this revision to Diff 450376.Aug 5 2022, 1:32 PM

alphabetized

kda accepted this revision.Aug 5 2022, 3:11 PM

thanks

This revision is now accepted and ready to land.Aug 5 2022, 3:11 PM
This revision was automatically updated to reflect the committed changes.
aaronpuchert added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
2569

What about this comment, now that the intercept has been added?