[llvm-commits] CVS: llvm/tools/gccld/GenerateCode.cpp

Reid Spencer reid at x10sys.com
Tue Aug 22 23:56:47 PDT 2006



Changes in directory llvm/tools/gccld:

GenerateCode.cpp updated: 1.60 -> 1.61
---
Log message:

For PR797: http://llvm.org/PR797 :
Remove exception throwing from Path::getDirectoryContents and its users.


---
Diffs of the changes:  (+2 -1)

 GenerateCode.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/tools/gccld/GenerateCode.cpp
diff -u llvm/tools/gccld/GenerateCode.cpp:1.60 llvm/tools/gccld/GenerateCode.cpp:1.61
--- llvm/tools/gccld/GenerateCode.cpp:1.60	Mon Aug 21 01:04:45 2006
+++ llvm/tools/gccld/GenerateCode.cpp	Wed Aug 23 01:56:27 2006
@@ -157,7 +157,8 @@
   
   // Grab the contents of the -L path
   std::set<sys::Path> Files;
-  LPath.getDirectoryContents(Files);
+  if (LPath.getDirectoryContents(Files, 0))
+    return false;
   
   // Iterate over the contents one by one to determine
   // if this -L path has any bytecode shared libraries






More information about the llvm-commits mailing list