diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-19 23:16:19 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-19 23:16:19 +0000 |
commit | b07dd959a4baee8772373a9b3613f69e366473c9 (patch) | |
tree | 9067caf07002824c2eff5b7f69b6dccdbd07e2e8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 55e3dd9174c969f1538d0992fd2050f7625dee5c (diff) | |
download | bcm5719-llvm-b07dd959a4baee8772373a9b3613f69e366473c9.tar.gz bcm5719-llvm-b07dd959a4baee8772373a9b3613f69e366473c9.zip |
Fix a serious bug that would cause deadlock during abstract type refinement. The constant creation
gets involved, and we end up trying to recursively acquire a writer lock. The fix for this is slightly horrible,
and involves passing a boolean "locked" parameter around in Constants.cpp, but it's better than having locked and
unlocked versions of most of the code.
llvm-svn: 73790
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions