[Lldb-commits] [lldb] [lldb-dap] Migrate attach to typed RequestHandler. (PR #137911)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue May 6 20:00:26 PDT 2025
================
@@ -675,12 +675,11 @@ lldb::SBTarget DAP::CreateTarget(lldb::SBError &error) {
// enough information to determine correct arch and platform (or ELF can be
// omitted at all), so it is good to leave the user an opportunity to specify
// those. Any of those three can be left empty.
- auto target = this->debugger.CreateTarget(
- configuration.program.value_or("").data(),
- configuration.targetTriple.value_or("").data(),
- configuration.platformName.value_or("").data(),
- true, // Add dependent modules.
- error);
+ auto target = this->debugger.CreateTarget(configuration.program.data(),
+ configuration.targetTriple.data(),
+ configuration.platformName.data(),
+ true, // Add dependent modules.
----------------
JDevlieghere wrote:
Since you're touching this...
```suggestion
/*add_dependent_modules=*/true,
```
https://github.com/llvm/llvm-project/pull/137911
More information about the lldb-commits
mailing list