projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05283c2
)
System/Path/Windows: Implement GetLLVMDefaultConfigDir.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Tue, 9 Nov 2010 15:11:42 +0000
(15:11 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Tue, 9 Nov 2010 15:11:42 +0000
(15:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118507
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/Path.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/Path.inc
b/lib/System/Win32/Path.inc
index b0cca0e33624e5ee3b114f92ab528a920ea771c4..4760dfd93d6d66a349ae3aaaaad80862af9fe04b 100644
(file)
--- a/
lib/System/Win32/Path.inc
+++ b/
lib/System/Win32/Path.inc
@@
-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