Fix minor threading issue.
authorRui Ueyama <ruiu@google.com>
Fri, 10 Apr 2015 19:55:35 +0000 (19:55 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 10 Apr 2015 19:55:35 +0000 (19:55 +0000)
commitee0c60679a18f2bb27e35516a68da37012823e49
treef4bb9e8913eb79962c019cf9a22ec624a9be4909
parentaa7a5a3a0f7a6d4af7c772251b524098964d3c30
Fix minor threading issue.

Because calls of applyRelocation is parallelized, all functions
called from that need to be thread-safe. This piece of code
didn't use any synchronization mechanism, so it was not safe.

llvm-svn: 234628
lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h