Author: Felipe de Azevedo Piovezan Date: 2024-10-28T15:02:07-07:00 New Revision: 474234a09655e57b7a4270150f0926db77e864b4
URL: https://github.com/llvm/llvm-project/commit/474234a09655e57b7a4270150f0926db77e864b4 DIFF: https://github.com/llvm/llvm-project/commit/474234a09655e57b7a4270150f0926db77e864b4.diff LOG: [debugserver] Mark ASAN memory regions as "heap" (#113968) This memory type is currently not handled, but it makes sense to mark it as a heap allocation in requests asking for memory region info. Added: Modified: lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp Removed: ################################################################################ diff --git a/lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp b/lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp index 60d4c3bc293a3c..97908b4acaf284 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp @@ -208,7 +208,8 @@ std::vector<std::string> MachVMRegion::GetMemoryTypes() const { m_data.user_tag == VM_MEMORY_MALLOC_LARGE_REUSABLE || m_data.user_tag == VM_MEMORY_MALLOC_HUGE || m_data.user_tag == VM_MEMORY_REALLOC || - m_data.user_tag == VM_MEMORY_SBRK) { + m_data.user_tag == VM_MEMORY_SBRK || + m_data.user_tag == VM_MEMORY_SANITIZER) { types.push_back("heap"); if (m_data.user_tag == VM_MEMORY_MALLOC_TINY) { types.push_back("malloc-tiny"); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits