Displaying 1 result from an estimated 1 matches for "r153225".
Did you mean:
1153225
2012 Mar 22
1
[LLVMdev] Infinite recursion in sys::fs::create_directories()
Hi,
sys::fs::create_directories() recurses infinitely for relative paths
with only one directory or where the first directory in path doesn't
exist. This was observed in r153176.
Example:
#include <llvm/Support/FileSystem.h>
using namespace llvm;
int main(int argc, char *argv[])
{
bool existed;
error_code ec = sys::fs::create_directories(Twine("log"), existed);