Return a vector rather than mutating a given one.
authorRui Ueyama <ruiu@google.com>
Fri, 4 Apr 2014 00:15:52 +0000 (00:15 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 4 Apr 2014 00:15:52 +0000 (00:15 +0000)
commit8dc9f0a3711ead756d83255433ba436cb5bbd5fd
tree2cc3754b94af7780ee4ccf4775524d075d283e3f
parent8bd093b1e591f636152ef0f9e6dd53f783323982
Return a vector rather than mutating a given one.

This is cleaner and as efficient as before.

Differential Revision: http://llvm-reviews.chandlerc.com/D3284

llvm-svn: 205590
lld/include/lld/Core/SymbolTable.h
lld/lib/Core/Resolver.cpp
lld/lib/Core/SymbolTable.cpp