diff options
author | Dean Michael Berris <dberris@google.com> | 2018-07-31 04:47:37 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2018-07-31 04:47:37 +0000 |
commit | f40bc2a4cbad7eef1be27d18369a072d7ec1cdc1 (patch) | |
tree | 6e6d75ff419394d259ad599d78178d6c26765d45 | |
parent | bc821e04b5903da1e87031d4c6112eace2cb0b32 (diff) | |
download | compiler-rt-f40bc2a4cbad7eef1be27d18369a072d7ec1cdc1.tar.gz |
[XRay][compiler-rt] Update test to use similar structure
This is a follow-up to D50037.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@338349 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/xray/tests/unit/profile_collector_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xray/tests/unit/profile_collector_test.cc b/lib/xray/tests/unit/profile_collector_test.cc index 00a7d53dc..67049af2c 100644 --- a/lib/xray/tests/unit/profile_collector_test.cc +++ b/lib/xray/tests/unit/profile_collector_test.cc @@ -31,9 +31,9 @@ constexpr uptr ExpectedProfilingVersion = 0x20180424; struct ExpectedProfilingFileHeader { const u64 MagicBytes = 0x7872617970726f66; // Identifier for XRay profiling // files 'xrayprof' in hex. - const uptr Version = ExpectedProfilingVersion; - uptr Timestamp = 0; - uptr PID = 0; + const u64 Version = ExpectedProfilingVersion; + u64 Timestamp = 0; + u64 PID = 0; }; void ValidateFileHeaderBlock(XRayBuffer B) { |