Skip to content

Commit 417d34b

Browse files
Merge pull request #9475 from felipepiovezan/felipe/implement_asan_memory_type
[cherry-pick][debugserver] Mark ASAN memory regions as "heap"
2 parents 5e5046b + 589fe1c commit 417d34b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ std::vector<std::string> MachVMRegion::GetMemoryTypes() const {
208208
m_data.user_tag == VM_MEMORY_MALLOC_LARGE_REUSABLE ||
209209
m_data.user_tag == VM_MEMORY_MALLOC_HUGE ||
210210
m_data.user_tag == VM_MEMORY_REALLOC ||
211-
m_data.user_tag == VM_MEMORY_SBRK) {
211+
m_data.user_tag == VM_MEMORY_SBRK ||
212+
m_data.user_tag == VM_MEMORY_SANITIZER) {
212213
types.push_back("heap");
213214
if (m_data.user_tag == VM_MEMORY_MALLOC_TINY) {
214215
types.push_back("malloc-tiny");

0 commit comments

Comments
 (0)