| commit | af5d304844cd8e39fcc31ca4e07e3e887d2f0bd9 | [log] [tgz] |
|---|---|---|
| author | Ulya Trafimovich <skvadrik@google.com> | Thu Jun 10 15:29:21 2021 +0100 |
| committer | Ulyana Trafimovich <skvadrik@google.com> | Mon Jun 14 15:40:52 2021 +0000 |
| tree | ea4f9fdf28b99ce1f8a92903045b032fa79d0301 | |
| 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