diff options
| author | 2021-06-10 15:29:21 +0100 | |
|---|---|---|
| committer | 2021-06-14 15:40:52 +0000 | |
| commit | af5d304844cd8e39fcc31ca4e07e3e887d2f0bd9 (patch) | |
| tree | ea4f9fdf28b99ce1f8a92903045b032fa79d0301 /libnativeloader/library_namespaces.cpp | |
| parent | 4ab592315e766876d2ae96f28f05bab9ae46c160 (diff) | |
x86_64: add a helper function that displaces an address by a given amount.
The new function will be used in an follow up CL.
Add a gtest that constructs addresses with some initial displacement and
checks that they are equal to addresses constructed in the same way only
without displacement, and then displaced.
Bug: 65872996
Test: m test-art-host-gtest # changes covered by the new test
Change-Id: Id282707077b513bf5911afad1cdd481a1611b55c
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions