[Lldb-commits] [PATCH] D112457: Modernize and simplify HostInfo::GetOSKernelDescription
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 25 11:03:53 PDT 2021
mgorny added inline comments.
================
Comment at: lldb/source/Host/posix/HostInfoPosix.cpp:44
+
+ ::memset(&un, 0, sizeof(utsname));
+
----------------
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.
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