This is an archive of the discontinued LLVM Phabricator instance.

[DFSan] Add functions to print origin trace from origin id instead of address.
ClosedPublic

Authored by browneee on Dec 22 2021, 12:40 PM.

Details

Summary

dfsan_print_origin_id_trace
dfsan_sprint_origin_id_trace

Diff Detail

Event Timeline

browneee requested review of this revision.Dec 22 2021, 12:40 PM
browneee created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 22 2021, 12:40 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Dec 22 2021, 3:08 PM

LGTM

compiler-rt/test/dfsan/origin_id_stack_trace.c
18

I like "attribute((noinline))" better then macro

This revision is now accepted and ready to land.Dec 22 2021, 3:08 PM
browneee updated this revision to Diff 395940.Dec 22 2021, 3:22 PM
browneee marked an inline comment as done.

Fix comment and formatting.

This revision was landed with ongoing or failed builds.Dec 22 2021, 4:46 PM
This revision was automatically updated to reflect the committed changes.