aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-08-02 20:06:32 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-08-02 20:06:32 +0000
commit1b536724d9fb49657b56b25e8f1514b4fe4cea60 (patch)
tree37f9a0b9c0f51d930d2ac1ffcd39b96b5e6bfdc3 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent4f90c82aecdb23539b2b2b4ab844017387153c6a (diff)
downloadllvm-1b536724d9fb49657b56b25e8f1514b4fe4cea60.zip
llvm-1b536724d9fb49657b56b25e8f1514b4fe4cea60.tar.gz
llvm-1b536724d9fb49657b56b25e8f1514b4fe4cea60.tar.bz2
Move lock acquire/release functions in task deque cleanup code
The original locations can be reached without initializing the lock variable (td_deque_lock), so it is potentially unsafe. It is guaranteed that the lock is initialized if the deque (td_deque) is not NULL, and lock functions can be safely called. Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D36017 llvm-svn: 309875
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions