search for: loadsinglelibraryobject

Displaying 1 result from an estimated 1 matches for "loadsinglelibraryobject".

2003 May 22
1
[LLVMdev] allow gcc .... /full/path/to/libfoo.a
...am generated, // the .bc file will be left around. Considering that this is a temporary hack, -// I'm not to worried about this. +// I'm not too worried about this. // //===----------------------------------------------------------------------===// @@ -117,70 +117,80 @@ static Module *LoadSingleLibraryObject(c return M.release(); } +// IsArchive - Returns true iff FILENAME appears to be the name of an ar +// archive file. It determines this by checking the magic string at the +// beginning of the file. +static bool IsArchive (const std::string &filename) { + static const std::string Archive...