mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 13:55:22 +00:00
System/Path/Windows: Implement GetLLVMDefaultConfigDir.
llvm-svn: 118507
This commit is contained in:
parent
ad6bc07ddf
commit
aa24a317fe
@ -287,8 +287,10 @@ Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) {
|
||||
|
||||
Path
|
||||
Path::GetLLVMDefaultConfigDir() {
|
||||
// TODO: this isn't going to fly on Windows
|
||||
return Path("/etc/llvm");
|
||||
Path ret = GetUserHomeDirectory();
|
||||
if(!ret.appendComponent(".llvm"))
|
||||
assert(0 && "Failed to append .llvm");
|
||||
return ret;
|
||||
}
|
||||
|
||||
Path
|
||||
|
Loading…
x
Reference in New Issue
Block a user