This is an archive of the discontinued LLVM Phabricator instance.

[dfsan] Refactor loadShadow
ClosedPublic

Authored by stephan.yichao.zhao on Feb 5 2021, 2:17 PM.

Details

Diff Detail

Event Timeline

stephan.yichao.zhao requested review of this revision.Feb 5 2021, 2:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2021, 2:17 PM
morehouse accepted this revision.Feb 8 2021, 10:31 AM
morehouse added inline comments.
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
546

Long name. WDYT about renaming to loadLegacyShadowFast?

552

WDYT about renaming to loadFast16ShadowFast?

1584

Please fix this lint.

This revision is now accepted and ready to land.Feb 8 2021, 10:31 AM
stephan.yichao.zhao marked 3 inline comments as done.

shorten names
fixed lint warnings

gbalats added inline comments.Feb 8 2021, 10:52 AM
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
549–551

This comment is more helpful in the implementation of the function. Same for the second sentence of the previous declaration.

stephan.yichao.zhao marked an inline comment as done.

moved some comments to method implementation.

gbalats accepted this revision.Feb 8 2021, 11:57 AM
This revision was landed with ongoing or failed builds.Feb 9 2021, 9:22 AM
This revision was automatically updated to reflect the committed changes.