summaryrefslogtreecommitdiffstats
path: root/libcxx/src/condition_variable.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-09-12 23:17:56 +0000
committerGreg Clayton <gclayton@apple.com>2010-09-12 23:17:56 +0000
commit83ff3898f7333aeb9a931c0c6d6d8a2f987b8e1f (patch)
tree36addd20dbb6f52ffe6adf00cd477c71dd6ee2bd /libcxx/src/condition_variable.cpp
parent6960d4a83d0c6c0fddd6e175c37a82b37de33c9a (diff)
downloadbcm5719-llvm-83ff3898f7333aeb9a931c0c6d6d8a2f987b8e1f.tar.gz
bcm5719-llvm-83ff3898f7333aeb9a931c0c6d6d8a2f987b8e1f.zip
Fixed a crash that would happen when using "frame variables" on any struct,
union, or class that contained an enumeration type. When I was creating the clang enumeration decl, I wasn't calling "EnumDecl::setIntegerType (QualType)" which means that if the enum decl was ever asked to figure out it's bit width (getTypeInfo()) it would crash. We didn't run into this with enum types that weren't inside classes because the DWARF already told us how big the type was and when we printed an enum we would never need to calculate the size, we would use the pre-cached byte size we got from the DWARF. When the enum was in a struct/union/class and we tried to layout the struct, the layout code would attempt to get the type info and segfault. llvm-svn: 113729
Diffstat (limited to 'libcxx/src/condition_variable.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud