summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-06-27 20:26:19 +0000
committerGreg Clayton <gclayton@apple.com>2012-06-27 20:26:19 +0000
commit234076c4291085b4bf78d174805560f9fb00212b (patch)
tree5ed62b9c2cb399b8130c8dd320664841d7a2a969 /clang/lib/Frontend/CompilerInvocation.cpp
parent56471fdba879c4de26c93c4a4dfbc731f67d2a18 (diff)
downloadbcm5719-llvm-234076c4291085b4bf78d174805560f9fb00212b.tar.gz
bcm5719-llvm-234076c4291085b4bf78d174805560f9fb00212b.zip
Fixed the "target modules list" to not crash in Debug builds due to an assertion where the mutex in the "module_list" local variable would assert when the lldb_private::Mutex would destruct. What was happening was the mutex in the module list was being locked by a local locker object and then "module_list" would get destroyed before the locker and the locker still had the mutex locked which would cause the pthread call to destroy the mutex to fail with "Resource busy" and it would cause a mutex leak.
llvm-svn: 159291
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud