diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-11 18:45:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-11 18:45:35 +0000 |
commit | 0e33231d554b32e32e23400eb92c9aa44e0e251b (patch) | |
tree | c308e425d20f6e6a0055d24c6e38f526d717ead8 /lib | |
parent | 9a82d21512da4a8129ef32d6749b9ae3997de517 (diff) | |
download | external_llvm-0e33231d554b32e32e23400eb92c9aa44e0e251b.zip external_llvm-0e33231d554b32e32e23400eb92c9aa44e0e251b.tar.gz external_llvm-0e33231d554b32e32e23400eb92c9aa44e0e251b.tar.bz2 |
Remove Path::GetBitcodeLibraryPaths.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/Unix/Path.inc | 17 | ||||
-rw-r--r-- | lib/Support/Windows/Path.inc | 17 |
2 files changed, 0 insertions, 34 deletions
diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index 6a5ebb8..3ca4a0d 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -222,23 +222,6 @@ Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) { Paths.push_back(sys::Path("/lib/")); } -void -Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) { - char * env_var = getenv("LLVM_LIB_SEARCH_PATH"); - if (env_var != 0) { - getPathList(env_var,Paths); - } -#ifdef LLVM_LIBDIR - { - Path tmpPath; - if (tmpPath.set(LLVM_LIBDIR)) - if (tmpPath.canRead()) - Paths.push_back(tmpPath); - } -#endif - GetSystemLibraryPaths(Paths); -} - Path Path::GetUserHomeDirectory() { const char* home = getenv("HOME"); diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index f4898e6..c29b28a 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -271,23 +271,6 @@ Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) { Paths.push_back(sys::Path(buff)); } -void -Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) { - char * env_var = getenv("LLVM_LIB_SEARCH_PATH"); - if (env_var != 0) { - getPathList(env_var,Paths); - } -#ifdef LLVM_LIBDIR - { - Path tmpPath; - if (tmpPath.set(LLVM_LIBDIR)) - if (tmpPath.canRead()) - Paths.push_back(tmpPath); - } -#endif - GetSystemLibraryPaths(Paths); -} - Path Path::GetUserHomeDirectory() { char buff[MAX_PATH]; |