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 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits