diff options
| author | Jez Ng <me@jezng.com> | 2025-11-01 13:44:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-01 13:44:21 -0400 |
| commit | c3bc30bd282b84e5afdcebf72a9f9aa8ba1442ce (patch) | |
| tree | e396e16cc5bc1aebc16e7ceed2925a8180cdad66 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 03d044971eccac47ed8518684ea18ba413cd5748 (diff) | |
| download | llvm-c3bc30bd282b84e5afdcebf72a9f9aa8ba1442ce.zip llvm-c3bc30bd282b84e5afdcebf72a9f9aa8ba1442ce.tar.gz llvm-c3bc30bd282b84e5afdcebf72a9f9aa8ba1442ce.tar.bz2 | |
[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.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
