[Lldb-commits] [PATCH] D119146: [lldb/Platform] Decouple instance and plugin names

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 8 01:22:45 PST 2022


labath added a comment.

The main reason for that is because the platform objects are generally created in a loop (`for (factory : plugins) { result = factory(cantMove(name), ...)}`), so we can't make use of the move semantics because we don't know which construction will stick.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119146



More information about the lldb-commits mailing list