mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
For PR797:
Remove exception throwing from Path::getDirectoryContents and its users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -157,7 +157,8 @@ static bool isBytecodeLPath(const std::string &LibPath) {
|
||||
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user