Fangrui Song
3fd0d22d74
AArch64AsmParser: Restore Lsym@page-offset support
...
https://github.com/llvm/llvm-project/pull/134202 removed support for
`sym@page-offset` in instruction operands. This change is generally
reasonable since subtracting an offset from a symbol typically doesn’t
make sense for Mach-O due to its .subsections_via_symbols mechanism, which treats
them as separate atoms.
However, BoringSSL relies on a temporary symbol with a negative offset,
which can be meaningful when the symbol and the referenced location are
within the same atom.
```
../../third_party/boringssl/src/gen/bcm/p256-armv8-asm-apple.S:1160:25: error: unexpected token in argument list
adrp x23,Lone_mont@PAGE-64
```
It's worth noting that expressions involving @ can be complex and
brittle in MCParser, and much of the Mach-O @ offsets remains
under-tested.
* Allow default argument for parsePrimaryExpr. The argument, used by the niche llvm-ml,
should not require other targets to adapt.
2025-04-09 23:13:06 -07:00
..
2024-10-23 16:16:41 +01:00
2024-10-28 16:36:02 +00:00
2024-10-04 10:24:02 +01:00
2023-11-02 17:17:20 +00:00
2024-10-21 15:18:19 +01:00
2024-12-11 22:11:32 +00:00
2025-03-26 13:41:42 +00:00
2024-10-24 09:05:58 +01:00
2025-01-14 14:26:08 +00:00
2024-12-19 10:45:07 +00:00
2025-01-13 16:34:33 +00:00
2024-10-28 13:55:16 +00:00
2024-10-31 14:30:11 +00:00
2024-11-01 12:21:10 +03:00
2025-02-24 09:17:04 +00:00
2024-07-24 18:24:39 +01:00
2024-02-11 20:21:29 -08:00
2024-02-11 20:21:29 -08:00
2025-04-09 23:13:06 -07:00
2024-12-19 12:40:33 +03:00
2024-02-19 00:57:48 -08:00
2024-08-21 15:15:49 +01:00
2024-08-16 11:59:27 -07:00
2024-08-20 11:37:12 -07:00
2024-06-03 16:33:59 -07:00
2025-02-13 09:43:16 +00:00
2024-01-24 13:12:03 +00:00
2024-01-24 13:12:03 +00:00
2024-02-09 15:22:09 -08:00
2024-12-22 18:11:50 -08:00
2024-12-22 18:11:50 -08:00
2024-12-22 18:11:50 -08:00
2024-12-22 22:03:44 -08:00
2024-12-22 18:11:50 -08:00
2024-08-17 13:36:40 +01:00
2024-08-17 13:36:40 +01:00
2024-12-22 18:11:50 -08:00
2024-12-11 22:11:32 +00:00
2024-01-24 13:12:03 +00:00
2025-01-14 08:35:36 +00:00
2024-07-11 07:46:51 -07:00
2024-04-18 10:53:23 +01:00
2024-02-21 10:05:50 +00:00
2023-12-20 15:43:17 +00:00
2023-12-22 10:06:06 +00:00
2023-12-22 14:40:29 +00:00
2023-12-22 14:40:29 +00:00
2023-12-22 14:40:29 +00:00
2023-12-21 18:09:31 +00:00
2023-12-21 18:09:31 +00:00
2024-07-11 07:58:20 +01:00
2023-11-28 16:39:39 +00:00
2023-11-28 16:39:39 +00:00
2023-11-28 16:39:39 +00:00
2023-12-22 14:40:29 +00:00
2024-10-28 16:36:02 +00:00
2024-10-28 16:36:02 +00:00
2025-02-13 09:43:16 +00:00
2024-10-14 15:13:09 +01:00
2024-10-22 16:06:14 +01:00
2024-10-22 16:06:14 +01:00
2024-12-22 18:11:50 -08:00
2025-01-08 08:54:48 +00:00
2024-10-22 16:06:14 +01:00
2024-10-24 19:53:03 +01:00
2024-10-24 19:53:03 +01:00
2024-02-11 20:21:29 -08:00
2025-01-25 20:30:55 -08:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2025-03-18 12:29:37 +00:00
2025-03-18 12:29:37 +00:00
2025-02-25 09:54:56 +00:00
2025-02-25 09:54:56 +00:00
2024-11-11 11:38:36 -08:00
2024-02-28 13:03:35 -08:00
2023-11-21 10:33:11 -08:00
2024-07-22 09:03:05 -07:00
2025-03-26 09:01:20 -07:00
2025-04-04 19:57:24 -07:00
2024-03-28 08:57:27 +00:00
2025-04-08 09:09:19 -07:00
2024-10-28 16:36:02 +00:00
2024-10-28 16:36:02 +00:00
2024-10-28 16:36:02 +00:00
2024-10-28 16:36:02 +00:00
2024-09-02 20:23:07 +01:00
2024-10-28 16:36:02 +00:00
2024-10-28 08:22:38 +00:00
2024-06-21 18:22:21 -07:00
2025-04-08 09:09:19 -07:00
2025-04-01 09:35:27 +02:00
2024-10-22 15:23:13 -07:00
2024-12-19 12:40:33 +03:00
2025-04-08 09:09:19 -07:00
2024-11-26 11:09:58 -08:00
2024-08-22 09:12:11 -07:00
2024-08-16 18:01:47 -07:00
2024-10-28 08:22:38 +00:00
2024-12-20 20:08:24 +02:00
2024-01-27 22:20:08 -08:00
2024-02-06 13:32:00 +00:00
2023-11-16 12:21:12 +01:00
2024-07-22 09:03:05 -07:00
2025-01-21 10:12:36 +00:00
2024-08-09 11:59:40 +01:00
2025-01-13 14:00:14 -08:00