Easy fix for nasty bug, exception data buffer had wrong type == wrong

(smaller) size == garbage on stack == heisenbugs.

llvm-svn: 56750
This commit is contained in:
Daniel Dunbar 2008-09-27 06:32:25 +00:00
parent 612e0c9604
commit da04d7f4ec
1 changed files with 1 additions and 1 deletions

View File

@ -2193,7 +2193,7 @@ ObjCTypesHelper::ObjCTypesHelper(CodeGen::CodeGenModule &cgm)
// Exceptions
const llvm::Type *StackPtrTy =
llvm::PointerType::getUnqual(llvm::ArrayType::get(llvm::Type::Int8Ty, 4));
llvm::ArrayType::get(llvm::PointerType::getUnqual(llvm::Type::Int8Ty), 4);
ExceptionDataTy =
llvm::StructType::get(llvm::ArrayType::get(llvm::Type::Int32Ty,