[PATCH] D22098: [esan] Add __esan_report for mid-run data

Derek Bruening via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 09:58:54 PDT 2016


bruening created this revision.
bruening added a reviewer: aizatsky.
bruening added subscribers: llvm-commits, eugenis, kcc, zhaoqin, vitalybuka.
Herald added a subscriber: kubabrecka.

Adds a new public interface routine __esan_report() which can be used to
request profiling results prior to abnormal termination (e.g., for a server
process killed by its parent where the normal exit does not allow for
normal result reporting).

Implements this for the working-set tool.  The cache frag tool is left
unimplemented as it requires missing iteration capabilities.

Adds a new test.

http://reviews.llvm.org/D22098

Files:
  include/CMakeLists.txt
  include/sanitizer/esan_interface.h
  lib/esan/cache_frag.cpp
  lib/esan/cache_frag.h
  lib/esan/esan.cpp
  lib/esan/esan.h
  lib/esan/esan_interface.cpp
  lib/esan/working_set.cpp
  lib/esan/working_set.h
  test/esan/TestCases/workingset-midreport.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22098.63087.patch
Type: text/x-patch
Size: 10202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160707/c79ccb03/attachment.bin>


More information about the llvm-commits mailing list