Remove the CFE's lib directory from the bytecode path because LLVM should
authorReid Spencer <rspencer@reidspencer.com>
Wed, 15 Dec 2004 22:22:51 +0000 (22:22 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 15 Dec 2004 22:22:51 +0000 (22:22 +0000)
be agnostic to the needs of any specific FE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18969 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Path.cpp
lib/System/Win32/Path.inc

index 21e07c8ae13f0f228fc5debc79fcf790e27bf477..d76dcd00176642f9c5780aaefe603fe6abf60e8d 100644 (file)
@@ -156,13 +156,6 @@ Path::GetBytecodeLibraryPaths(std::vector<sys::Path>& Paths) {
   if (env_var != 0) {
     getPathList(env_var,Paths);
   }
-#ifdef LLVMGCCDIR
-  {
-    Path tmpPath(std::string(LLVMGCCDIR) + "lib/");
-    if (tmpPath.readable())
-      Paths.push_back(tmpPath);
-  }
-#endif
 #ifdef LLVM_LIBDIR
   {
     Path tmpPath;
index 21e07c8ae13f0f228fc5debc79fcf790e27bf477..d76dcd00176642f9c5780aaefe603fe6abf60e8d 100644 (file)
@@ -156,13 +156,6 @@ Path::GetBytecodeLibraryPaths(std::vector<sys::Path>& Paths) {
   if (env_var != 0) {
     getPathList(env_var,Paths);
   }
-#ifdef LLVMGCCDIR
-  {
-    Path tmpPath(std::string(LLVMGCCDIR) + "lib/");
-    if (tmpPath.readable())
-      Paths.push_back(tmpPath);
-  }
-#endif
 #ifdef LLVM_LIBDIR
   {
     Path tmpPath;