diff options
author | Filipe Cabecinhas <me@filcab.net> | 2016-09-09 20:43:20 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2016-09-09 20:43:20 +0000 |
commit | 957480a390a853946bcf6cdfa6aff352bdbd69a7 (patch) | |
tree | cf8738c8a5ec1e23aec16b764f0097501d111594 /lib/asan/asan_report.h | |
parent | 8a49986fbcdfab5e6a18e69903205615ab2bef1b (diff) |
[asan] Add a new AddressDescription structure, which can describe any type of address.
Summary:
This is useful for inclusion in the Error* structures, to describe an
arbitrary address.
Remove the old struct since it's used only once. This removes one level of
indirection, and moves all *AddressDescription to be one of the recently
introduced structures.
This merges differential revisions: D24131 and D24132
Reviewers: kcc, eugenis, vitalybuka
Subscribers: kubabrecka, llvm-commits
Differential Revision: https://reviews.llvm.org/D24131
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@281090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.h')
-rw-r--r-- | lib/asan/asan_report.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/asan/asan_report.h b/lib/asan/asan_report.h index ba612be7a..5ebfda693 100644 --- a/lib/asan/asan_report.h +++ b/lib/asan/asan_report.h @@ -25,14 +25,6 @@ struct StackVarDescr { uptr name_len; }; -struct AddressDescription { - char *name; - uptr name_size; - uptr region_address; - uptr region_size; - const char *region_kind; -}; - // Returns the number of globals close to the provided address and copies // them to "globals" array. int GetGlobalsForAddress(uptr addr, __asan_global *globals, u32 *reg_sites, |