[Lldb-commits] [PATCH] Use SHCreateDirectory to create new directory on Windows

Zachary Turner zturner at google.com
Fri Apr 10 09:29:05 PDT 2015


I kind of don't like the shell functions and would prefer to avoid them wherever possible.  They're very heavyweight, can fail for mysterious reasons, and are all intertwined with displaying UI and all other kinds of unnecessary stuff.  Plus, MSDN says this function was dropped in Vista  (There's SHCreateDirectoryEx apparently, but even that function has a deprecation warning on MSDN).

LLVM has llvm::sys::fs::create_directories() in llvm/Support/FileSystem.h.  Can you try that and see if it satisfies your needs?


http://reviews.llvm.org/D8977

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list