[PATCH] Adding debug location information to Polly's JSCOP and dot exports

Roel Jordans r.jordans at tue.nl
Fri May 1 05:49:06 PDT 2015


Hi grosser,

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.

http://reviews.llvm.org/D9431

Files:
  include/polly/ScopDetectionDiagnostic.h
  include/polly/Support/ScopLocation.h
  lib/Analysis/ScopDetection.cpp
  lib/Analysis/ScopDetectionDiagnostic.cpp
  lib/Analysis/ScopGraphPrinter.cpp
  lib/CMakeLists.txt
  lib/Exchange/JSONExporter.cpp
  lib/Support/ScopLocation.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9431.24798.patch
Type: text/x-patch
Size: 7959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150501/4a20d8a3/attachment.bin>


More information about the llvm-commits mailing list