diff options
author | Vladimir Marko <vmarko@google.com> | 2021-04-23 16:31:26 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2021-04-26 07:26:17 +0000 |
commit | a61859210844849e97a479bcfa74d1a62f51f819 (patch) | |
tree | 42b383d479b8d14d64b3d6e42053b79202e9eafd /compiler/optimizing/optimizing_unit_test.h | |
parent | fe1c7b4a5bc83f47844c969c38aeb4288723b171 (diff) |
Fix profile magic detection.
Do not rely on the file descriptor being initialized with
offset 0. Fix a test that this change exposes as passing
wrong arguments and non-zero file offset. Clean up tests
to avoid the ResetOffset() call that's now unnecessary.
Test: m test-art-host-gtest
Bug: 148067697
Change-Id: I2a3a07712640f35766ef3b449cd02910e4438cba
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions