summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-06-08 22:50:40 +0000
committerJim Ingham <jingham@apple.com>2012-06-08 22:50:40 +0000
commit4ceb928f022d16ba7db1521bd2e8722dd41ec1c4 (patch)
treecb66cc83d3be5dad4c2f0b83abeabf220d78714a /clang/lib/Lex/Lexer.cpp
parentd8d56694352c972bfb1e13bdc562b3d27b29f4ea (diff)
downloadbcm5719-llvm-4ceb928f022d16ba7db1521bd2e8722dd41ec1c4.tar.gz
bcm5719-llvm-4ceb928f022d16ba7db1521bd2e8722dd41ec1c4.zip
Change the Mutex::Locker class so that it takes the Mutex object and locks it, rather
than being given the pthread_mutex_t from the Mutex and locks that. That allows us to track ownership of the Mutex better. Used this to switch the LLDB_CONFIGURATION_DEBUG enabled assert when we can't get the gdb-remote sequence mutex to assert when the thread that had the mutex releases it. This is generally more useful information than saying just who failed to get it (since the code that had it locked often had released it by the time the assert fired.) llvm-svn: 158240
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud