commit | 8668ae56bf6a1c7db97d4996cd6694591a1fad32 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Apr 22 16:40:50 2024 +0000 |
committer | VladimĂr Marko <vmarko@google.com> | Tue Apr 23 10:01:47 2024 +0000 |
tree | 3b3820c87c8b3d12d8aad90f6710670c52db8792 | |
parent | 9e68e9b2d0aba60ba1862da111cbb0cc6c65affa [diff] |
Refactor error reporting in `OatFileBase::Setup()`. Add a helper function adding a common prefix to the error messages where we previously had a few different prefixes. The refactoring slightly reduces the length of the main `OatFileBase::Setup()` function which is very close to the 500 non-comment code lines limit enforced by `cpplint`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 38313278 Change-Id: I1dc71342270dee8548e0cca292b86aac7463daf7