[Lldb-commits] [PATCH] D151859: [lldb/Target] Add ability to set name to targets

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 31 17:46:26 PDT 2023


bulbazord added a comment.

In D151859#4385986 <https://reviews.llvm.org/D151859#4385986>, @jingham wrote:

> Make sure we do something sensible with "target select <NAME>" if the user has given the same name to two targets (or disallow doing that, one or the other).

In addition to this, what happens if the user sets the target's name to a number? Something like `10`. I don't know what format `llvm::to_integer` expects, but I wonder if it can extract `0xF` as `15`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151859



More information about the lldb-commits mailing list