[Lldb-commits] [PATCH] D53532: [FileSystem] Extend file system and have it use the VFS.
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 30 00:21:57 PDT 2018
labath added a comment.
In https://reviews.llvm.org/D53532#1279022, @JDevlieghere wrote:
> Address Pavel's feedback:
> - Change to `Initialize` method which can only be called once.
I suppose this is slightly better, but what I meant was to have a `static` (like all other functions with the same name) `Initialize` function, which has to be called before the first call to `Instance()`. During normal startup, this could be called from `SystemInitializer`, but I am not sure how would that work for record/replay (that's why I was asking how you planned to initialize those). It would require to setup the record/replay machinery very early on, which may be tricky. But on the other hand, you probably want to initialize these as early as possible anyway.
Do you think something like that would be possible?
More information about the lldb-commits