diff options
| author | Igor Kudrin <ikudrin@accesssoftek.com> | 2019-08-06 10:49:40 +0000 |
|---|---|---|
| committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2019-08-06 10:49:40 +0000 |
| commit | f26a70a5e7b7b8715eadcb6dec3ff39a267fc666 (patch) | |
| tree | d178246aab19aded049ff79111d90654bdbfe497 /llvm/unittests/XRay/FDRProducerConsumerTest.cpp | |
| parent | f5f35c5cd110e22c4b216ec1dc53255e32adc011 (diff) | |
| download | bcm5719-llvm-f26a70a5e7b7b8715eadcb6dec3ff39a267fc666.tar.gz bcm5719-llvm-f26a70a5e7b7b8715eadcb6dec3ff39a267fc666.zip | |
Switch LLVM to use 64-bit offsets (2/5)
This updates all libraries and tools in LLVM Core to use 64-bit offsets
which directly or indirectly come to DataExtractor.
Differential Revision: https://reviews.llvm.org/D65638
llvm-svn: 368014
Diffstat (limited to 'llvm/unittests/XRay/FDRProducerConsumerTest.cpp')
| -rw-r--r-- | llvm/unittests/XRay/FDRProducerConsumerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/XRay/FDRProducerConsumerTest.cpp b/llvm/unittests/XRay/FDRProducerConsumerTest.cpp index bbc15be0302..e1fa0e345d2 100644 --- a/llvm/unittests/XRay/FDRProducerConsumerTest.cpp +++ b/llvm/unittests/XRay/FDRProducerConsumerTest.cpp @@ -131,7 +131,7 @@ TYPED_TEST_P(RoundTripTest, RoundTripsSingleValue) { this->OS.flush(); DataExtractor DE(this->Data, sys::IsLittleEndianHost, 8); - uint32_t OffsetPtr = 0; + uint64_t OffsetPtr = 0; auto HeaderOrErr = readBinaryFormatHeader(DE, OffsetPtr); if (!HeaderOrErr) FAIL() << HeaderOrErr.takeError(); @@ -172,7 +172,7 @@ TYPED_TEST_P(RoundTripTestV5, RoundTripsSingleValue) { this->OS.flush(); DataExtractor DE(this->Data, sys::IsLittleEndianHost, 8); - uint32_t OffsetPtr = 0; + uint64_t OffsetPtr = 0; auto HeaderOrErr = readBinaryFormatHeader(DE, OffsetPtr); if (!HeaderOrErr) FAIL() << HeaderOrErr.takeError(); |

