mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +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:
parent
05283c2a2b
commit
525ba5748c
@ -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