[Lldb-commits] [PATCH] D112457: Modernize and simplify HostInfo::GetOSKernelDescription
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 26 01:39:41 PDT 2021
labath added inline comments.
================
Comment at: lldb/source/Host/posix/HostInfoPosix.cpp:44
+
+ ::memset(&un, 0, sizeof(utsname));
+
----------------
mgorny wrote:
> I'm somewhat surprised that you need to do that. I wonder if there was a real reason why it's done or just someone being overly careful.
I'm pretty sure it isn't necessary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112457/new/
https://reviews.llvm.org/D112457
More information about the lldb-commits
mailing list