[llvm] fddacd0 - [DebugInfo][test] Fix(?) build bots due to incorrect type usage
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 07:12:11 PST 2020
Author: James Henderson
Date: 2020-02-10T15:11:49Z
New Revision: fddacd00fc36358d2f7c48af108ccaa27fc3b084
URL: https://github.com/llvm/llvm-project/commit/fddacd00fc36358d2f7c48af108ccaa27fc3b084
DIFF: https://github.com/llvm/llvm-project/commit/fddacd00fc36358d2f7c48af108ccaa27fc3b084.diff
LOG: [DebugInfo][test] Fix(?) build bots due to incorrect type usage
Added:
Modified:
llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
index bc86d1763aec..2af3d4c1c0d6 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
@@ -121,7 +121,7 @@ TEST(DWARFFormValue, SignedConstantForms) {
}
using ParamType = std::tuple<Form, uint16_t, uint8_t, DwarfFormat,
- ArrayRef<uint8_t>, uint32_t, bool>;
+ ArrayRef<uint8_t>, uint64_t, bool>;
struct FormSkipValueFixtureBase : public testing::TestWithParam<ParamType> {
void SetUp() {
@@ -154,13 +154,13 @@ struct FormSkipValueFixtureBase : public testing::TestWithParam<ParamType> {
uint8_t AddrSize;
DwarfFormat Dwarf;
ArrayRef<uint8_t> InitialData;
- uint32_t ExpectedSkipped;
+ uint64_t ExpectedSkipped;
bool ExpectedResult;
};
const uint8_t LEBData[] = {0x80, 0x1};
ArrayRef<uint8_t> SampleLEB(LEBData, sizeof(LEBData));
-const uint32_t SampleLength = 0x80;
+const uint64_t SampleLength = 0x80;
ArrayRef<uint8_t>
SampleUnsigned(reinterpret_cast<const uint8_t *>(&SampleLength),
sizeof(SampleLength));
More information about the llvm-commits
mailing list