[all-commits] [llvm/llvm-project] 632cbc: [lldb] Move once_flags in HostInfoLinux so the int...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Thu Jun 10 23:54:09 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 632cbcac79065a62a306dbda7b3a6e1f315e3260
https://github.com/llvm/llvm-project/commit/632cbcac79065a62a306dbda7b3a6e1f315e3260
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2021-06-11 (Fri, 11 Jun 2021)
Changed paths:
M lldb/source/Host/linux/HostInfoLinux.cpp
Log Message:
-----------
[lldb] Move once_flags in HostInfoLinux so the internal state struct
The HostInfoLinuxFields struct is supposed to be set up/torn down on
Initialize/Terminate and should contain all the state of the plugin.
`once_flags` are part of this state and should also be reset on `Terminate` so
we can re-initialize these lazy values after the next `Initialize` call.
This itself is NFC as the HostInfoLinux was broken before this patch and is
still broken afterwards. D104091 will be the proper fix.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D104093
More information about the All-commits
mailing list