Skip to content

Commit fddacd0

Browse files
committed
[DebugInfo][test] Fix(?) build bots due to incorrect type usage
1 parent c55cf4a commit fddacd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ TEST(DWARFFormValue, SignedConstantForms) {
121121
}
122122

123123
using ParamType = std::tuple<Form, uint16_t, uint8_t, DwarfFormat,
124-
ArrayRef<uint8_t>, uint32_t, bool>;
124+
ArrayRef<uint8_t>, uint64_t, bool>;
125125

126126
struct FormSkipValueFixtureBase : public testing::TestWithParam<ParamType> {
127127
void SetUp() {
@@ -154,13 +154,13 @@ struct FormSkipValueFixtureBase : public testing::TestWithParam<ParamType> {
154154
uint8_t AddrSize;
155155
DwarfFormat Dwarf;
156156
ArrayRef<uint8_t> InitialData;
157-
uint32_t ExpectedSkipped;
157+
uint64_t ExpectedSkipped;
158158
bool ExpectedResult;
159159
};
160160

161161
const uint8_t LEBData[] = {0x80, 0x1};
162162
ArrayRef<uint8_t> SampleLEB(LEBData, sizeof(LEBData));
163-
const uint32_t SampleLength = 0x80;
163+
const uint64_t SampleLength = 0x80;
164164
ArrayRef<uint8_t>
165165
SampleUnsigned(reinterpret_cast<const uint8_t *>(&SampleLength),
166166
sizeof(SampleLength));

0 commit comments

Comments
 (0)