mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-27 12:26:08 +00:00
System/Path/Windows: Implement GetLLVMDefaultConfigDir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -287,8 +287,10 @@ Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) {
|
|||||||
|
|
||||||
Path
|
Path
|
||||||
Path::GetLLVMDefaultConfigDir() {
|
Path::GetLLVMDefaultConfigDir() {
|
||||||
// TODO: this isn't going to fly on Windows
|
Path ret = GetUserHomeDirectory();
|
||||||
return Path("/etc/llvm");
|
if(!ret.appendComponent(".llvm"))
|
||||||
|
assert(0 && "Failed to append .llvm");
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Path
|
Path
|
||||||
|
Reference in New Issue
Block a user