diff options
author | Victor Leschuk <vleschuk@accesssoftek.com> | 2016-10-26 21:32:29 +0000 |
---|---|---|
committer | Victor Leschuk <vleschuk@accesssoftek.com> | 2016-10-26 21:32:29 +0000 |
commit | a37660c66945898a8dfce3f40e066595c7742543 (patch) | |
tree | 5a2d99e389d1c41c444a92adfea93ef6ec682f65 /llvm/unittests/IR/MetadataTest.cpp | |
parent | 5ceeb60c6ebc9d1193d8af9f336b6cce5ca9e1d8 (diff) | |
download | bcm5719-llvm-a37660c66945898a8dfce3f40e066595c7742543.tar.gz bcm5719-llvm-a37660c66945898a8dfce3f40e066595c7742543.zip |
DebugInfo: fix incorrect alignment type (NFC)
Change type of some missed DebugInfo-related alignment variables,
that are still uint64_t, to uint32_t.
Original change introduced in r284482.
llvm-svn: 285242
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
-rw-r--r-- | llvm/unittests/IR/MetadataTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp index ad967892848..014a22cf64b 100644 --- a/llvm/unittests/IR/MetadataTest.cpp +++ b/llvm/unittests/IR/MetadataTest.cpp @@ -1824,7 +1824,7 @@ TEST_F(DIGlobalVariableTest, get) { auto *Expr2 = DIExpression::get(Context, {1, 2, 3}); DIDerivedType *StaticDataMemberDeclaration = cast<DIDerivedType>(getDerivedType()); - uint64_t AlignInBits = 8; + uint32_t AlignInBits = 8; auto *N = DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition, @@ -1911,7 +1911,7 @@ TEST_F(DILocalVariableTest, get) { DIType *Type = getDerivedType(); unsigned Arg = 6; DINode::DIFlags Flags = static_cast<DINode::DIFlags>(7); - uint64_t AlignInBits = 8; + uint32_t AlignInBits = 8; auto *N = DILocalVariable::get(Context, Scope, Name, File, Line, Type, Arg, Flags, |