diff options
author | Rui Ueyama <ruiu@google.com> | 2016-01-07 17:20:07 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-01-07 17:20:07 +0000 |
commit | deb154001d805a2ba5563cad58e55305483b65bc (patch) | |
tree | 16745d49ce1b1da5eee8915f203f01792cb38eea /clang/unittests/Format/FormatTestJS.cpp | |
parent | 82fc962c2018b8130f5952a1d1e993e08cbea750 (diff) | |
download | bcm5719-llvm-deb154001d805a2ba5563cad58e55305483b65bc.tar.gz bcm5719-llvm-deb154001d805a2ba5563cad58e55305483b65bc.zip |
ELF: Implement --wrap.
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
llvm-svn: 257075
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
0 files changed, 0 insertions, 0 deletions