This is an archive of the discontinued LLVM Phabricator instance.

Support for saving an ordered list of compilation units
Needs ReviewPublic

Authored by lszekeres on Feb 17 2015, 1:58 PM.

Details

Reviewers
kcc
Summary

This patch supports the reconstruction of an IR level trace from the "events" file generated by the current tracer. This can be done if we know the ordered list of compilation units. This patch extends the coverage pass to pass the name of the compilation unit to the runtime. The runtime half of the patch is submitted separately.

Diff Detail

Event Timeline

lszekeres updated this revision to Diff 20106.Feb 17 2015, 1:58 PM
lszekeres retitled this revision from to Support for saving an ordered list of compilation units.
lszekeres updated this object.
lszekeres edited the test plan for this revision. (Show Details)
lszekeres added a reviewer: kcc.
lszekeres added a subscriber: Unknown Object (MLST).
kcc added inline comments.Feb 17 2015, 4:21 PM
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
195

you can do this shorter, similar to createPrivateNonConstGlobalForString in MemorySanitizer.cpp

lszekeres updated this revision to Diff 20255.Feb 18 2015, 7:23 PM

Addressed comments