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 | b5f4a1b0ba74977a24614f6206efe21e304bbdee (patch) | |
tree | d074bc7f26ff870b20ea10f2650eb1f70d3c1168 /llvm/lib/Support/Unix | |
parent | 0487a3210f5fc6a4f755ff95f84e45bcf30f5051 (diff) | |
download | bcm5719-llvm-b5f4a1b0ba74977a24614f6206efe21e304bbdee.tar.gz bcm5719-llvm-b5f4a1b0ba74977a24614f6206efe21e304bbdee.zip |
Remove Path::GetBitcodeLibraryPaths.
llvm-svn: 183765
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 6a5ebb8cd9c..3ca4a0de332 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/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"); |