mirror-llvm-project/lldb/test/API/windows/debug-heap/Makefile
Nerixyz 98d41d2f75
[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.
2026-07-27 14:58:38 +02:00

3 lines
44 B
Makefile

C_SOURCES := main.c
include Makefile.rules