commit | 5ac3927878db6331d5b75a71c1fdb89c1850d497 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@google.com> | Thu Mar 19 17:27:58 2020 -0700 |
committer | Peter Collingbourne <pcc@google.com> | Thu Mar 19 17:51:20 2020 -0700 |
tree | 6eef6eb80214e34680988a1eb501e5ca15fe5aad | |
parent | 3ab681c9a8a7de8b7f004b9e6afec749cdcbd5e5 [diff] |
Make GetPcAdjustment a free function. We're now using it in contexts that don't have all of the registers available, such as GWP-ASan and soon MTE, so it doesn't make sense to have it be a member function of Regs. Bug: 135772972 Change-Id: I18b104ea0adb78588d7e475d0624cefc701ba52c