[Lldb-commits] [PATCH] D17420: Don't use an atexit handler for cleaning up process specific temp dir
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 18 15:28:12 PST 2016
amccarth added inline comments.
Comment at: source/Host/common/HostInfoBase.cpp:88
@@ +87,3 @@
+ delete g_fields;
There's a difference in behavior in that this now happens even if we haven't (yet) created a temp directory. As a side effect, CleanupProcessSpecificLLDBTempDir will first _create_ the temp directory and then immediately delete it, which seems wasteful.
More information about the lldb-commits