diff options
| author | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-03-05 21:06:42 +0000 |
|---|---|---|
| committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-03-05 21:06:42 +0000 |
| commit | 05ee8bd4e34d2bed81667d3363b013aa2b3e0513 (patch) | |
| tree | 61a822dd24194e216f6aa51a02deabbe4eb7cbd0 /llvm/lib | |
| parent | 26aaa6872d2a00f4154a06af08d929748b692c7f (diff) | |
| download | bcm5719-llvm-05ee8bd4e34d2bed81667d3363b013aa2b3e0513.tar.gz bcm5719-llvm-05ee8bd4e34d2bed81667d3363b013aa2b3e0513.zip | |
Fix uninitialized memory references in WinEHPrepare
llvm-svn: 231405
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index eefb278f0a7..3304aeb3e44 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/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, |

