Jason Molenda
da4e82753f
Don't read off end of GPR register array to access fp/sp/lr/pc
...
The arm64 register context on Darwin has the 29 general purpose
registers, then pc/sp/lr/fp with different field names depending
on compile-time flags. Instead of accessing beyond the end of
the uint64_t[29] array, and upsetting the sanitizers, access those
registers correctly with the correct name.
Fixes a test failure on the ASAN CI bot, currently being
skipped, in TestEarlyProcessLaunch.py.
Differential Revision: https://reviews.llvm.org/D140067
rdar://103359354
2023-01-04 13:51:26 -08:00
..
2023-01-04 13:51:26 -08:00
2020-06-15 18:22:22 -07:00
2022-11-08 01:37:04 +00:00
2021-05-03 15:05:32 -07:00
2022-05-18 10:16:11 -07:00
2022-12-13 11:42:56 -08:00
2022-12-13 11:42:56 -08:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2022-03-31 13:21:49 -07:00
2020-02-17 23:15:40 -08:00
2022-03-31 13:21:49 -07:00
2021-05-26 12:46:12 +02:00
2022-05-05 11:31:23 -07:00
2019-01-19 08:50:56 +00:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2020-02-17 23:15:40 -08:00
2022-12-19 13:52:10 +05:00
2021-09-27 14:32:42 +02:00
2022-09-13 10:38:38 -07:00
2022-04-04 14:14:02 -07:00
2021-05-26 12:46:12 +02:00
2019-01-19 08:50:56 +00:00
2021-05-26 12:46:12 +02:00
2020-06-15 18:22:22 -07:00
2020-02-17 23:15:40 -08:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2019-01-19 08:50:56 +00:00
2021-05-26 12:46:12 +02:00
2022-05-18 10:16:11 -07:00
2022-05-18 10:16:11 -07:00
2020-02-17 23:15:40 -08:00
2022-12-13 11:42:56 -08:00
2022-12-13 11:42:56 -08:00
2020-02-04 19:46:55 -08:00
2020-02-17 23:15:40 -08:00
2021-06-25 13:45:11 +02:00
2020-02-17 23:15:40 -08:00
2022-03-31 13:21:49 -07:00
2021-05-26 12:46:12 +02:00
2021-09-27 14:32:42 +02:00
2021-09-27 14:32:42 +02:00
2021-05-26 12:46:12 +02:00
2020-02-17 23:15:40 -08:00
2022-03-31 13:21:49 -07:00
2021-05-26 12:46:12 +02:00