[PATCH] D16070: [asan] Optionally print reproducer cmdline in ASan reports.

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 01:31:16 PST 2016


m.ostapenko added a subscriber: kubabrecka.
m.ostapenko set the repository for this revision to rL LLVM.
m.ostapenko updated this revision to Diff 44610.
m.ostapenko added a comment.

Updating according to Kostya's nits. Encapsulate target specific code in GetArgv function, implemented for Linux and Mac. Tested on Linux box. For Mac, GetArgv seems to be trivial, but I'd still prefer OS X guys to take a look. For Windows I left it unimplemented, thought we can use something like GetCommandLine API function to extract Argv.


Repository:
  rL LLVM

http://reviews.llvm.org/D16070

Files:
  lib/asan/asan_flags.inc
  lib/asan/asan_report.cc
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_mac.cc
  lib/sanitizer_common/sanitizer_win.cc
  test/asan/TestCases/Posix/print_cmdline.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16070.44610.patch
Type: text/x-patch
Size: 3868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160112/68f2436f/attachment.bin>


More information about the llvm-commits mailing list