[PATCH] D11365: [asan] Add a "dump_registers" flag to print out CPU registers after a SIGSEGV

Kuba Brecka kuba.brecka at gmail.com
Tue Jul 21 02:36:10 PDT 2015


kubabrecka updated this revision to Diff 30237.
kubabrecka added a comment.

Addressing review comments.

> I wonder if you can move this test one level up (not Darwin-specific) and restrict it for Darwin.


Hm, it doesn't seem so.  `REQUIRES: Darwin` doesn't work.  I could add `XFAIL: Linux` and `XFAIL: FreeBSD`...

Also, what do you think about having this on by default?


http://reviews.llvm.org/D11365

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/Darwin/dump_registers.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11365.30237.patch
Type: text/x-patch
Size: 6240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150721/5fe979a8/attachment.bin>


More information about the llvm-commits mailing list