diff options
| author | 2024-04-22 16:40:50 +0000 | |
|---|---|---|
| committer | 2024-04-23 10:01:47 +0000 | |
| commit | 8668ae56bf6a1c7db97d4996cd6694591a1fad32 (patch) | |
| tree | 3b3820c87c8b3d12d8aad90f6710670c52db8792 /libnativeloader/native_loader_test.cpp | |
| 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
Diffstat (limited to 'libnativeloader/native_loader_test.cpp')
0 files changed, 0 insertions, 0 deletions