aboutsummaryrefslogtreecommitdiff
path: root/linker
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2020-04-01 19:54:48 -0700
committerPeter Collingbourne <pcc@google.com>2020-05-05 13:28:16 -0700
commitd3060019de533cc1e1ccf444c80b37ebb3490c9f (patch)
tree0b8b45a1b6e7e4ec4a92bdf5c1bb2c8ed5752dcf /linker
parent514faf92c82ca4f88e4a58f771ff5e393ceec317 (diff)
downloadbionic-d3060019de533cc1e1ccf444c80b37ebb3490c9f.tar.gz
Introduce a new heap tagging level, M_HEAP_TAGGING_LEVEL_SYNC.
The SYNC tagging level enables stack trace collection for allocations and deallocations, which allows allocation and deallocation stack traces to appear in tombstones when encountering a tag check fault in synchronous tag checking mode. Bug: 135772972 Change-Id: Ibda9f51b29d2c8e2c993fc74425dea7bfa23ab1e
Diffstat (limited to 'linker')
-rw-r--r--linker/linker_debuggerd_android.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linker/linker_debuggerd_android.cpp b/linker/linker_debuggerd_android.cpp
index 6a816736f..203e44159 100644
--- a/linker/linker_debuggerd_android.cpp
+++ b/linker/linker_debuggerd_android.cpp
@@ -40,6 +40,8 @@ static debugger_process_info get_process_info() {
.fdsan_table = &__libc_shared_globals()->fd_table,
.gwp_asan_state = __libc_shared_globals()->gwp_asan_state,
.gwp_asan_metadata = __libc_shared_globals()->gwp_asan_metadata,
+ .scudo_stack_depot = __libc_shared_globals()->scudo_stack_depot,
+ .scudo_region_info = __libc_shared_globals()->scudo_region_info,
};
}
#endif