[PATCH] [compiler-rt] ASan debugging API for report info extraction and locating addresses

Kuba Brecka kuba.brecka at gmail.com
Fri Sep 12 15:53:36 PDT 2014


Updated patch.

> Consider introducing a struct for address description instead of
> passing quadruple (name, name_size, region_address, region_size)
> around. It would be much easier to modify it later. You can also add
> region_kind ("global", "stack" etc.) string there.

Introduced AddressDescription. However, I still kept the external interface not to use this struct, again for LLDB convenience reasons.

http://reviews.llvm.org/D4527

Files:
  include/sanitizer/asan_interface.h
  lib/asan/asan_debugging.cc
  lib/asan/asan_globals.cc
  lib/asan/asan_interface_internal.h
  lib/asan/asan_report.cc
  lib/asan/asan_report.h
  test/asan/TestCases/debug_locate.cc
  test/asan/TestCases/debug_report.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4527.13666.patch
Type: text/x-patch
Size: 18808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140912/ba4f9aac/attachment.bin>


More information about the llvm-commits mailing list