Jez Ng c3bc30bd28
[lld][macho] Error out gracefully when offset is outside literal section (#164660)
We typically shouldn't get this, but when we do (e.g. in #139439) we
should error out gracefully instead of crashing.

Note that we are stricter than ld64 here; ld64 appears to be able to
handle section offsets that point outside literal sections if the end
result is a valid pointer to another section in the input object file.
Supporting this would probably be a pain given our current design, and
it seems like enough of an edge case that it's onot worth it.
2025-11-01 13:44:21 -04:00
..
2024-01-23 09:08:43 -05:00
2023-02-15 17:34:35 +00:00
t.s
u.s
2023-07-19 16:39:31 -07:00