Pass all buffers to BuildId hash function at once. NFC.
authorRui Ueyama <ruiu@google.com>
Mon, 2 May 2016 23:35:59 +0000 (23:35 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 2 May 2016 23:35:59 +0000 (23:35 +0000)
commitdd368fcb05ef5c7187c8d94f84aa8703a234a6d0
treee7b3ad82d3e374c97e64edac5c2400ebe78a5050
parent8742943cb04d1bd69a692e5d57bb08c08def2f26
Pass all buffers to BuildId hash function at once. NFC.

This change simplifies the BuildId classes by removing a few member
functions and variables from them. It should also make it easy to
parallelize hash computation in future because now each BuildId object
see all inputs rather than one at a time.

llvm-svn: 268333
lld/ELF/OutputSections.cpp
lld/ELF/OutputSections.h
lld/ELF/Writer.cpp