summaryrefslogtreecommitdiff
path: root/lib/asan/asan_report.h
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-04-22 20:30:19 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-04-22 20:30:19 +0000
commitaf0ecc5abe30a23c1e2f9946a7ade9a87d5ed647 (patch)
treed2f054dba3d94ede5ff2a27e9a1971069b566ec4 /lib/asan/asan_report.h
parentb3872305e0ef8dcd6961847cc325c677f20ab441 (diff)
[ASan] Print global registration site in init-order-checker reports.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@235540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.h')
-rw-r--r--lib/asan/asan_report.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/asan/asan_report.h b/lib/asan/asan_report.h
index ad011e304..e2786b0f2 100644
--- a/lib/asan/asan_report.h
+++ b/lib/asan/asan_report.h
@@ -35,7 +35,8 @@ struct AddressDescription {
// Returns the number of globals close to the provided address and copies
// them to "globals" array.
-int GetGlobalsForAddress(uptr addr, __asan_global *globals, int max_globals);
+int GetGlobalsForAddress(uptr addr, __asan_global *globals, u32 *reg_sites,
+ int max_globals);
bool GetInfoForAddressIfGlobal(uptr addr, AddressDescription *descr);
// The following functions prints address description depending
// on the memory type (shadow/heap/stack/global).
@@ -45,9 +46,6 @@ bool DescribeAddressIfShadow(uptr addr, AddressDescription *descr = nullptr,
bool ParseFrameDescription(const char *frame_descr,
InternalMmapVector<StackVarDescr> *vars);
bool DescribeAddressIfStack(uptr addr, uptr access_size);
-// Determines memory type on its own.
-void DescribeAddress(uptr addr, uptr access_size);
-
void DescribeThread(AsanThreadContext *context);
// Different kinds of error reports.