[LLD][ELF] Drop the string null terminator from the hash in splitStrings
authorAndrew Ng <andrew.ng@sony.com>
Thu, 26 May 2022 15:03:09 +0000 (16:03 +0100)
committerAndrew Ng <andrew.ng@sony.com>
Fri, 27 May 2022 09:48:53 +0000 (10:48 +0100)
commitc78c00dc16bbbb3b48705190f7e6de09458a1f34
tree345b8833b697291776560711c4b1fcf08b25778a
parent8d021670c31dcb760ad3d301eb5fdfdf38733324
[LLD][ELF] Drop the string null terminator from the hash in splitStrings

Differential Revision: https://reviews.llvm.org/D126484
lld/ELF/InputSection.cpp
lld/test/ELF/comment-gc.s
lld/test/ELF/merge-string.s