mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
Add support for the 's' operation to llvm-ar.
If no other operation is specified, 's' becomes an operation instead of an modifier. The s operation just creates a symbol table. It is the same as running ranlib. We assume the archive was created by a sane ar (like llvm-ar or gnu ar) and if the symbol table is present, then it is current. We use that to optimize the most common case: a broken build system that thinks it has to run ranlib. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -188,6 +188,8 @@ public:
|
||||
// check if a symbol is in the archive
|
||||
child_iterator findSym(StringRef name) const;
|
||||
|
||||
bool hasSymbolTable() const;
|
||||
|
||||
private:
|
||||
child_iterator SymbolTable;
|
||||
child_iterator StringTable;
|
||||
|
||||
Reference in New Issue
Block a user