diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-06-20 14:44:48 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-06-20 14:44:48 +0000 |
commit | 30ea0c4d74e7c363ef0fc14f1c9a28d0ed657368 (patch) | |
tree | 03e48b42e8c4d0e5c7035355cb6c1460509aec8a /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 1d8093249f5457358e96ba873459888977b5fd41 (diff) | |
download | bcm5719-llvm-30ea0c4d74e7c363ef0fc14f1c9a28d0ed657368.tar.gz bcm5719-llvm-30ea0c4d74e7c363ef0fc14f1c9a28d0ed657368.zip |
[yaml2obj] - Convert `ELFState<ELFT>::addSymbols` method to `toELFSymbols` helper. NFCI.
ELFState<ELFT>::addSymbols method looks a bit strange.
User code have to create the destination symbols vector outside,
add a null symbol and then pass it to addSymbols when it seems
the more natural logic is to isolate all work with symbols inside some
function, build the list right there and return it.
Differential revision: https://reviews.llvm.org/D63493
llvm-svn: 363930
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions