diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-10-22 20:14:36 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-10-22 20:14:36 +0000 |
commit | 4f78c4f67b1e0901a97a828634b9cd3ddc70ca40 (patch) | |
tree | 47db7c33a5cd4cc8bb551691bbfee3b7b77caabe /clang/test/Driver/android-ndk-standalone.cpp | |
parent | 7e4edbdd1b4d2fa97478fc16be2efff4de9afdf9 (diff) | |
download | bcm5719-llvm-4f78c4f67b1e0901a97a828634b9cd3ddc70ca40.tar.gz bcm5719-llvm-4f78c4f67b1e0901a97a828634b9cd3ddc70ca40.zip |
[SymbolFile] Add the module lock where necessary and assert that we own it.
As discussed with Greg at the dev meeting, we need to ensure we have the
module lock in the SymbolFile. Usually the symbol file is accessed
through the symbol vendor which ensures that the necessary locks are
taken. However, there are a few methods that are accessed by the
expression parser and were lacking the lock.
This patch adds the locking where necessary and everywhere else asserts
that we actually already own the lock.
Differential revision: https://reviews.llvm.org/D52543
llvm-svn: 344945
Diffstat (limited to 'clang/test/Driver/android-ndk-standalone.cpp')
0 files changed, 0 insertions, 0 deletions