[Lldb-commits] [PATCH] D70847: [lldb-vscode] Ensure that target matches the executable file

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 2 11:38:29 PST 2019


clayborg added a comment.

The other fix would be to add a new LLDB API function:

  lldb::SBModule lldb::SBTarget::SetExecutable(const char *path, const char *triple, const char *symfile);

Where we would pass in "nullptr" for "triple" and "symfile" from lldb-vscode and we call that. But I do think fix SBTarget::AddModule to "do the right thing" is a good fix.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70847/new/

https://reviews.llvm.org/D70847





More information about the lldb-commits mailing list