[all-commits] [llvm/llvm-project] 98d41d: [lldb][Windows] Disable debug heap by default (#21...
Nerixyz via All-commits
all-commits at lists.llvm.org
Mon Jul 27 05:58:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 98d41d2f75395ab1f91198f2493cff62a33b80c1
https://github.com/llvm/llvm-project/commit/98d41d2f75395ab1f91198f2493cff62a33b80c1
Author: Nerixyz <nerixdev at outlook.de>
Date: 2026-07-27 (Mon, 27 Jul 2026)
Changed paths:
M lldb/include/lldb/Utility/Environment.h
M lldb/source/Plugins/Platform/Windows/CMakeLists.txt
M lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
M lldb/source/Plugins/Platform/Windows/PlatformWindows.h
A lldb/source/Plugins/Platform/Windows/PlatformWindowsProperties.td
A lldb/test/API/windows/debug-heap/Makefile
A lldb/test/API/windows/debug-heap/TestWindowsDebugHeap.py
A lldb/test/API/windows/debug-heap/main.c
Log Message:
-----------
[lldb][Windows] Disable debug heap by default (#212126)
This disables Windows' default debug heap when launching a process.
The motivation is similar to what Microsoft wrote on their [blog post
for Visual Studio
2015](https://devblogs.microsoft.com/cppblog/c-debugging-improvements-in-visual-studio-14/)
where they disabled it: The debug heap comes with a performance cost and
the [C runtime already does some heap
checking](https://learn.microsoft.com/en-us/cpp/c-runtime-library/crt-debug-heap-details?view=msvc-170).
Towards #201690. Notably, lldb-dap won't set this when launching in a
terminal. I think we'd want an option similar to `disableASLR` for
lldb-dap.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list