Fangrui Song
d3589edafc
MCAsmBackend::applyFixup: Change Data
to indicate the relocated location
...
`Data` now references the first byte of the fixup offset within the current fragment.
MCAssembler::layout asserts that the fixup offset is within either the
fixed-size content or the optional variable-size tail, as this is the
most the generic code can validate without knowing the target-specific
fixup size.
Many backends applyFixup assert
```
assert(Offset + Size <= F.getSize() && "Invalid fixup offset!");
```
This refactoring allows a subsequent change to move the fixed-size
content outside of MCSection::ContentStorage, fixing the
-fsanitize=pointer-overflow issue of #150846
Pull Request: https://github.com/llvm/llvm-project/pull/151724
2025-08-02 09:27:06 -07:00
..
2025-07-31 18:55:59 -07:00
2025-07-29 11:38:43 +02:00
2025-06-17 13:28:45 -07:00
2025-08-02 09:27:06 -07:00
2025-06-17 13:28:45 -07:00
2025-08-01 16:11:11 +09:00
2025-07-18 17:15:38 +09:00
2025-08-01 20:12:35 -07:00
2025-04-07 17:27:50 -07:00
2025-03-31 08:10:34 -07:00
2025-07-29 11:38:43 +02:00
2025-07-10 10:20:40 +01:00
2025-03-31 08:10:34 -07:00
2025-07-28 20:58:25 +09:00
2025-07-21 10:39:09 +02:00
2025-07-21 10:39:09 +02:00
2025-07-31 17:36:57 +08:00
2025-05-14 10:48:51 +02:00
2025-03-29 11:51:29 +01:00
2025-03-29 11:51:29 +01:00
2025-05-24 14:48:46 -07:00
2025-07-29 08:20:05 -07:00
2025-04-07 17:27:50 -07:00
2025-07-23 16:47:00 +02:00
2025-07-23 16:47:00 +02:00
2025-07-31 07:30:59 -07:00
2025-05-20 11:27:03 +08:00
2025-07-16 17:07:48 -07:00
2025-07-21 10:09:42 -07:00
2025-06-20 18:26:56 +09:00
2025-06-20 18:26:56 +09:00
2025-07-21 10:39:09 +02:00
2025-07-31 17:36:57 +08:00
2025-07-30 16:15:50 -07:00
2025-07-29 08:20:05 -07:00
2025-07-29 15:06:35 -07:00
2025-07-29 08:20:05 -07:00
2025-08-02 09:00:31 -07:00
2025-07-21 10:39:09 +02:00
2025-07-10 09:29:48 +02:00
2025-07-31 17:36:57 +08:00
2025-07-31 17:36:57 +08:00
2025-07-21 17:49:25 +01:00
2025-05-11 21:18:11 -07:00
2025-03-27 15:38:54 -04:00
2025-06-21 12:18:25 +09:00
2025-04-07 17:27:50 -07:00
2025-04-07 17:27:50 -07:00
2025-07-15 17:13:42 -07:00
2025-07-10 13:35:43 +05:30
2025-07-10 13:35:43 +05:30
2025-06-21 23:54:27 +09:00
2025-07-18 17:15:38 +09:00
2025-05-23 08:30:29 -07:00
2025-05-23 08:30:29 -07:00
2025-04-17 10:08:22 +05:30
2025-06-12 11:51:58 +01:00
2025-07-18 17:15:38 +09:00
2025-07-18 17:15:38 +09:00
2025-07-15 13:24:08 +05:30
2025-06-24 11:09:36 +02:00
2025-05-23 08:30:29 -07:00
2025-07-23 16:44:53 +02:00
2025-07-30 08:30:27 +02:00
2025-07-23 16:47:00 +02:00
2025-07-23 16:47:00 +02:00
2025-07-23 16:47:00 +02:00
2025-05-23 08:30:29 -07:00
2025-08-01 20:12:35 -07:00
2025-05-24 14:48:46 -07:00
2025-07-18 09:22:37 +02:00
2025-07-10 13:35:43 +05:30
2025-07-25 10:13:53 +09:00
2025-06-12 11:51:58 +01:00
2025-04-07 17:27:50 -07:00
2025-08-01 16:14:19 -07:00
2025-04-02 16:52:05 +05:30
2025-04-25 09:36:41 +02:00
2025-05-22 02:45:59 +02:00
2025-07-23 12:01:23 -07:00
2025-05-24 14:48:46 -07:00
2025-07-30 13:29:15 +05:30
2025-07-18 17:15:38 +09:00
2025-07-31 17:36:57 +08:00
2025-06-26 19:15:31 -04:00
2025-04-07 17:27:50 -07:00
2025-06-20 16:44:06 +09:00
2025-05-26 09:13:21 -07:00
2025-07-29 09:41:00 -07:00
2025-07-30 13:29:15 +05:30
2025-06-24 22:44:35 -07:00
2025-07-29 09:41:00 -07:00
2025-06-24 19:59:26 -07:00
2025-07-29 09:41:00 -07:00
2025-07-10 14:15:01 -07:00
2025-05-23 08:30:29 -07:00
2025-05-23 08:30:29 -07:00
2025-08-01 16:14:19 -07:00
2025-07-21 13:24:10 -07:00
2025-06-24 11:09:36 +02:00
2025-04-11 15:34:49 -07:00
2025-06-24 11:09:36 +02:00
2025-07-11 12:40:13 -07:00
2025-07-25 12:11:52 -07:00
2025-07-25 12:11:52 -07:00
2025-04-11 15:45:24 +02:00
2025-08-01 13:20:05 +02:00
2025-08-01 13:20:05 +02:00
2025-08-01 16:07:09 +08:00
2025-08-01 20:12:35 -07:00
2025-07-10 14:15:01 -07:00
2025-07-10 14:15:01 -07:00
2025-07-03 13:49:34 -07:00
2025-04-07 17:27:50 -07:00
2025-03-29 11:08:13 -07:00
2025-04-07 17:27:50 -07:00
2025-07-23 11:36:49 +01:00
2025-05-24 14:48:46 -07:00
2025-06-23 15:30:13 +09:00
2025-05-23 08:30:29 -07:00
2025-03-29 11:08:13 -07:00
2025-06-04 12:30:56 -07:00
2025-07-23 11:36:49 +01:00
2025-05-01 15:55:08 +01:00
2025-05-01 15:55:08 +01:00
2025-07-30 17:24:45 -07:00
2025-07-18 14:08:50 +09:00
2025-07-30 17:24:45 -07:00
2025-05-23 08:30:29 -07:00
2025-06-24 11:09:36 +02:00
2025-08-01 11:54:25 -05:00
2025-04-25 11:29:27 +02:00
2025-06-04 15:00:34 +09:00
2025-07-30 11:23:28 +05:30
2025-07-21 15:04:59 -07:00
2025-08-01 16:14:19 -07:00
2025-07-28 11:40:56 +02:00
2025-08-01 20:12:35 -07:00
2025-07-25 12:13:06 -07:00
2025-08-01 16:11:11 +09:00
2025-07-28 22:11:36 +02:00
2025-03-26 19:28:19 +05:30
2025-07-21 15:41:24 -07:00
2025-05-23 08:30:29 -07:00
2025-05-23 08:30:29 -07:00
2025-07-28 17:25:20 +09:00
2025-05-23 08:30:29 -07:00
2025-07-25 19:49:56 +09:00
2025-07-21 10:39:09 +02:00
2025-06-04 12:30:56 -07:00
2025-07-30 11:23:28 +05:30
2025-05-23 08:30:29 -07:00
2025-05-23 08:30:29 -07:00
2025-06-26 14:08:13 -07:00
2025-05-28 08:47:05 +08:00
2025-04-08 17:58:48 +05:30
2025-07-21 17:29:06 +01:00
2025-07-28 17:25:20 +09:00
2025-07-28 17:25:20 +09:00
2025-08-01 20:12:35 -07:00
2025-07-21 10:09:42 -07:00
2025-07-14 17:57:06 -07:00
2025-05-23 08:30:29 -07:00
2025-05-23 08:30:29 -07:00
2025-07-24 13:22:50 -07:00
2025-07-30 11:23:28 +05:30
2025-07-18 13:08:50 -04:00
2025-07-30 13:44:24 -07:00
2025-08-01 20:12:35 -07:00
2025-07-25 12:13:06 -07:00
2025-07-10 14:15:01 -07:00
2025-07-10 14:15:01 -07:00
2025-07-31 18:55:59 -07:00