diff options
author | Zachary Turner <zturner@google.com> | 2017-06-19 21:59:09 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-19 21:59:09 +0000 |
commit | a56e4ee3460f704bacaa74ae1835924561f41188 (patch) | |
tree | bbc7a5246faffa4f2dfc70690768c98dfb762b0c /llvm/unittests/DebugInfo/CodeView | |
parent | 5e46600e3a091d7190132e0499441b2dda3e2853 (diff) | |
download | bcm5719-llvm-a56e4ee3460f704bacaa74ae1835924561f41188.tar.gz bcm5719-llvm-a56e4ee3460f704bacaa74ae1835924561f41188.zip |
Try to fix uninitialized read in unit test.
llvm-svn: 305753
Diffstat (limited to 'llvm/unittests/DebugInfo/CodeView')
-rw-r--r-- | llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp index d763bb3efe0..92134513b75 100644 --- a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp +++ b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp @@ -360,6 +360,7 @@ TEST_F(RandomAccessVisitorTest, CrossChunkName) { Class.Name = "FooClass"; Class.Options = ClassOptions::None; Class.MemberCount = 0; + Class.Size = 4U; Class.DerivationList = TypeIndex::fromArrayIndex(0); Class.FieldList = TypeIndex::fromArrayIndex(0); Class.VTableShape = TypeIndex::fromArrayIndex(0); |