summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/xray/tests
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-07-31 04:47:37 +0000
committerDean Michael Berris <dberris@google.com>2018-07-31 04:47:37 +0000
commitf8d5969943b3019ce66c6d9202a247b64b5eb39b (patch)
treee150fbe44e530fac2d88ec987f355248d02d43c1 /compiler-rt/lib/xray/tests
parenteb8e9c09409b6ec088e3b864749eafd5170482d0 (diff)
downloadbcm5719-llvm-f8d5969943b3019ce66c6d9202a247b64b5eb39b.tar.gz
bcm5719-llvm-f8d5969943b3019ce66c6d9202a247b64b5eb39b.zip
[XRay][compiler-rt] Update test to use similar structure
This is a follow-up to D50037. llvm-svn: 338349
Diffstat (limited to 'compiler-rt/lib/xray/tests')
-rw-r--r--compiler-rt/lib/xray/tests/unit/profile_collector_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/xray/tests/unit/profile_collector_test.cc b/compiler-rt/lib/xray/tests/unit/profile_collector_test.cc
index 00a7d53dc99..67049af2cd5 100644
--- a/compiler-rt/lib/xray/tests/unit/profile_collector_test.cc
+++ b/compiler-rt/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) {
OpenPOWER on IntegriCloud