This is an archive of the discontinued LLVM Phabricator instance.

Adding debug location information to Polly's JSCOP and dot exports
ClosedPublic

Authored by rjordans on May 1 2015, 5:48 AM.

Details

Summary

This change adds location information for the detected regions in Polly when the required debug information is available.

The JSCOP output format is extended with a "location" field which contains the information in the format "source.c:start-end"

The dot output is extended to contain the location information for each nested region in the analyzed function.

As part of this change, the existing getDebugLocation function has been moved into lib/Support/ScopLocation.cpp to avoid having to include polly/ScopDetectionDiagnostics.h.

Diff Detail

Event Timeline

rjordans updated this revision to Diff 24798.May 1 2015, 5:48 AM
rjordans retitled this revision from to Adding debug location information to Polly's JSCOP and dot exports.
rjordans updated this object.
rjordans edited the test plan for this revision. (Show Details)
rjordans added a reviewer: grosser.
rjordans added a subscriber: Unknown Object (MLST).
grosser edited edge metadata.May 2 2015, 12:28 AM

Can you possibly also update the Maekfile?

Otherwise LGTM. Please let me know if you need help with committing it.

rjordans updated this revision to Diff 24853.May 2 2015, 4:16 AM
rjordans edited edge metadata.

Added Makefile update. Tobias, can you commit this for me, I don't have access?

grosser accepted this revision.May 2 2015, 10:32 PM
grosser edited edge metadata.

Committed in 236393

This revision is now accepted and ready to land.May 2 2015, 10:32 PM
grosser closed this revision.May 2 2015, 10:32 PM