This is an archive of the discontinued LLVM Phabricator instance.

[DFSan] Remove trampolines to unblock opaque pointers.
ClosedPublic

Authored by browneee on Mar 8 2022, 1:34 PM.

Diff Detail

Event Timeline

browneee created this revision.Mar 8 2022, 1:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 1:34 PM
browneee requested review of this revision.Mar 8 2022, 1:34 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 8 2022, 1:34 PM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
browneee added inline comments.Mar 8 2022, 1:36 PM
compiler-rt/lib/dfsan/dfsan_custom.cpp
2078

I haven't done this now because this one function would currently be the only place that would use it.

The other code in dfsan_custom.cpp that have callbacks pass in data which is considered not tainted, so we can just zero it all.

browneee updated this revision to Diff 415155.Mar 14 2022, 10:37 AM
browneee retitled this revision from [DFSan] Remove trampolines to unblock opaque pointers. https://github.com/llvm/llvm-project/issues/54172 to [DFSan] Remove trampolines to unblock opaque pointers..
browneee edited the summary of this revision. (Show Details)

Rebase.

pcc accepted this revision.Mar 14 2022, 1:02 PM

LGTM

This revision is now accepted and ready to land.Mar 14 2022, 1:02 PM
This revision was landed with ongoing or failed builds.Mar 14 2022, 1:41 PM
This revision was automatically updated to reflect the committed changes.