summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-11 18:58:47 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-11 18:58:47 +0000
commit8cc6dc26bbd479bd23d7f70ccb61cbdd162888f3 (patch)
treea8aca7560d031547ead58edad46dc2b83f9770a4 /llvm/lib/Support/Unix
parentb58973f91884f13964a867768f8ae69134e546d9 (diff)
downloadbcm5719-llvm-8cc6dc26bbd479bd23d7f70ccb61cbdd162888f3.tar.gz
bcm5719-llvm-8cc6dc26bbd479bd23d7f70ccb61cbdd162888f3.zip
Remove GetSystemLibraryPaths.
llvm-svn: 183770
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Path.inc15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index 3ca4a0de332..b942674d91a 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/lib/Support/Unix/Path.inc
@@ -207,21 +207,6 @@ Path::GetTemporaryDirectory(std::string *ErrMsg) {
#endif
}
-void
-Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) {
-#ifdef LTDL_SHLIBPATH_VAR
- char* env_var = getenv(LTDL_SHLIBPATH_VAR);
- if (env_var != 0) {
- getPathList(env_var,Paths);
- }
-#endif
- // FIXME: Should this look at LD_LIBRARY_PATH too?
- Paths.push_back(sys::Path("/usr/local/lib/"));
- Paths.push_back(sys::Path("/usr/X11R6/lib/"));
- Paths.push_back(sys::Path("/usr/lib/"));
- Paths.push_back(sys::Path("/lib/"));
-}
-
Path
Path::GetUserHomeDirectory() {
const char* home = getenv("HOME");
OpenPOWER on IntegriCloud