Skip to content

Commit 22aede0

Browse files
committed
[lldb-dap] Fix: disableASLR launch argument not working.
1 parent f838a5e commit 22aede0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/tools/lldb-dap/Handler/RequestHandler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ RequestHandler::LaunchProcess(const llvm::json::Object &request) const {
175175

176176
if (GetBoolean(arguments, "disableASLR", true))
177177
flags |= lldb::eLaunchFlagDisableASLR;
178+
else
179+
flags &= ~lldb::eLaunchFlagDisableASLR;
180+
178181
if (GetBoolean(arguments, "disableSTDIO", false))
179182
flags |= lldb::eLaunchFlagDisableSTDIO;
180183
if (GetBoolean(arguments, "shellExpandArguments", false))

0 commit comments

Comments
 (0)