Fangrui Song f3c4dae6f2 [ELF] -no-pie: don't optimize addq R_X86_64_REX_GOTPCRELX when !isInt<32>(va)
When `!isInt<32>(x.va)`, `addq x@GOTPCREL(%rip), %rax` (possibly due to
getelementptr of a global variable) should not be optimized to
`addq offset, %rax`. We currently have either an assertion failure or an
incorrect optimization.
Fix it using the relaxOnce framework.
2024-06-20 20:52:07 -07:00
..
2024-06-21 11:11:10 +08:00
2023-05-02 09:34:48 +08:00
2023-08-21 09:11:51 -07:00
2024-01-22 09:09:46 -08:00
2022-08-15 18:49:02 -04:00
2023-07-18 17:57:31 -07:00
2022-08-02 09:52:31 -04:00
2024-06-14 23:20:50 -07:00
2023-07-25 17:06:07 +08:00
2023-07-25 17:06:07 +08:00
2022-10-24 10:54:09 -07:00
2023-07-18 17:57:31 -07:00
2024-04-19 09:09:41 -07:00
2024-05-15 15:41:20 -07:00
2022-09-20 17:12:44 -07:00
2022-10-24 10:54:09 -07:00