Displaying 1 result from an estimated 1 matches for "printandreturn".
2003 May 22
1
[LLVMdev] allow gcc .... /full/path/to/libfoo.a
..., isArchive, search, ErrorMessage))
+ return true;
// Figure out which symbols are defined by all of the modules in the .a file
std::vector<std::set<std::string> > DefinedSymbols;
@@ -307,11 +318,25 @@ int main(int argc, char **argv) {
if (Composite.get() == 0)
return PrintAndReturn(argv[0], ErrorMessage);
+ // We always look first in the current directory when searching for libraries.
+ LibPaths.insert(LibPaths.begin(), ".");
+
// If the user specied an extra search path in their environment, respect it.
if (char *SearchPath = getenv("LLVM_LIB_SEARCH_...