Teach Undefined symbols from which file they are created from.
authorRui Ueyama <ruiu@google.com>
Mon, 2 May 2016 21:30:42 +0000 (21:30 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 2 May 2016 21:30:42 +0000 (21:30 +0000)
commit6d0cd2b62b07fdec6177f919137396be49591526
treebdd6d20a7ea73831cb04e6e983bcfdbdfba7f2b7
parent0a9948534107b247f93420076a7f5b765e31d00c
Teach Undefined symbols from which file they are created from.

This patch increases the size of Undefined by the size of a pointer,
but it wouldn't actually increase the size of memory that LLD uses
because we are not allocating the exact size but the size of the
largest SymbolBody.

llvm-svn: 268310
lld/ELF/SymbolTable.cpp
lld/ELF/Symbols.cpp
lld/ELF/Symbols.h
lld/test/ELF/lto/combined-lto-object-name.ll