From dd94739f022b97d4108b22260cc6408cfb9696e4 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 18 Nov 2015 01:21:06 +0000 Subject: [PATCH] Attempt to fix uninitialized SDAG persistent ids detected by MSan git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253422 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 8dfdd902994..83464a6c978 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -215,7 +215,7 @@ class SelectionDAG { /// Tracks dbg_value information through SDISel. SDDbgInfo *DbgInfo; - uint16_t NextPersistentId; + uint16_t NextPersistentId = 0; public: /// Clients of various APIs that cause global effects on -- 2.34.1