projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f74b5c6
)
Fix uninitialized memory references in WinEHPrepare
author
Andrew Kaylor
<andrew.kaylor@intel.com>
Thu, 5 Mar 2015 21:06:42 +0000
(21:06 +0000)
committer
Andrew Kaylor
<andrew.kaylor@intel.com>
Thu, 5 Mar 2015 21:06:42 +0000
(21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231405
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/WinEHPrepare.cpp
b/lib/CodeGen/WinEHPrepare.cpp
index eefb278f0a790e802d14a34ced15c9d04406ebaf..3304aeb3e4493ed7e787e03db6c1529b95521772 100644
(file)
--- a/
lib/CodeGen/WinEHPrepare.cpp
+++ b/
lib/CodeGen/WinEHPrepare.cpp
@@
-90,7
+90,9
@@
public:
FrameVarInfoMap &VarInfo)
: LPI(LPI), Materializer(HandlerFn, VarInfo),
SelectorIDType(Type::getInt32Ty(LPI->getContext())),
- Int8PtrType(Type::getInt8PtrTy(LPI->getContext())) {}
+ Int8PtrType(Type::getInt8PtrTy(LPI->getContext())),
+ ExtractedEHPtr(nullptr), ExtractedSelector(nullptr),
+ EHPtrStoreAddr(nullptr), SelectorStoreAddr(nullptr) {}
CloningAction handleInstruction(ValueToValueMapTy &VMap,
const Instruction *Inst,