[PATCH] D15896: ELF: Implement --wrap.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 11:21:55 PST 2016
ruiu created this revision.
ruiu added a reviewer: grimar.
ruiu added a subscriber: llvm-commits.
In this patch, all symbols are resolved normally and then wrap options
are applied. Renaming is implemented by mutating `Body` pointers of
Symbols. (As a result, Symtab.find(SymbolName)->getName() may return
a string that's different from SymbolName, but that is by design.
I designed the symbol and the symbol table to allow this kind of
operations.)
http://reviews.llvm.org/D15896
Files:
ELF/Driver.cpp
ELF/Options.td
ELF/SymbolTable.cpp
ELF/SymbolTable.h
ELF/Symbols.h
test/ELF/Inputs/wrap.s
test/ELF/wrap.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15896.44030.patch
Type: text/x-patch
Size: 4066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160105/4dda40a4/attachment.bin>
More information about the llvm-commits
mailing list