[PATCH] D23518: Split DescribeAddressIf* (and DescribeHeapAddress) between a function that gets all the information (structured), and one that prints it.

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 09:36:49 PDT 2016


filcab created this revision.
filcab added reviewers: kcc, samsonov.
filcab added a subscriber: llvm-commits.
Herald added a subscriber: kubabrecka.

This is the first patch to start reifying information about errors. It deals only with reifying address-related information.
It will allow us to generate structures with all the relevant information for a given error so a debugger can get to them or they can be included in a core dump.

Additional changes:
Move the Decorator to asan_descriptions.h
Move ThreadNameWithParenthesis and DescribeThread to asan_descriptions.cc
Convert AsanLocateAddress to Get*AddressInformation functions.

https://reviews.llvm.org/D23518

Files:
  lib/asan/CMakeLists.txt
  lib/asan/asan_allocator.cc
  lib/asan/asan_allocator.h
  lib/asan/asan_debugging.cc
  lib/asan/asan_descriptions.cc
  lib/asan/asan_descriptions.h
  lib/asan/asan_globals.cc
  lib/asan/asan_report.cc
  lib/asan/asan_report.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23518.68047.patch
Type: text/x-patch
Size: 47865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160815/ba84ce96/attachment.bin>


More information about the llvm-commits mailing list