forked from OSchip/llvm-project
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:
parent
612e0c9604
commit
da04d7f4ec
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue