[PATCH] [sanitizer_common] Added VS-style output for source locations

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Thu May 28 17:25:27 PDT 2015


Hi samsonov, rnk,

With this patch, we have a flag to toggle displaying source locations in
the regular style:
file:line:column

or Visual Studio style:
file(line,column)

This way, they get picked up on the Visual Studio output window and one
can double-click them to get to that file location.

http://reviews.llvm.org/D10113

Files:
  lib/sanitizer_common/sanitizer_common.cc
  lib/sanitizer_common/sanitizer_flags.inc
  lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
  lib/sanitizer_common/sanitizer_stacktrace_printer.cc
  lib/sanitizer_common/sanitizer_stacktrace_printer.h
  lib/sanitizer_common/tests/sanitizer_stacktrace_printer_test.cc
  lib/tsan/rtl/tsan_report.cc
  lib/ubsan/ubsan_diag.cc

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10113.26759.patch
Type: text/x-patch
Size: 11404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150529/82705065/attachment.bin>


More information about the llvm-commits mailing list