summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorLuc Blaeser <112870813+luc-blaeser@users.noreply.github.com>2024-09-18 17:40:30 +0200
committerGitHub <noreply@github.com>2024-09-18 08:40:30 -0700
commit6ce14099ffa1194a5ed1f1ae6c35a4e811706fae (patch)
treea5852f583c787ede4df4633d163ebaea1d673a49 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent3f0dfab54184dcf9b00f37a2b8ac4f1f6ab14701 (diff)
[lld][WebAssembly] Report unsupported PIC relocations as errors (#104926)
`WASM_MEMORY_ADDR_REL_` and `WASM_TABLE_INDEX_REL_` relocations against **undefined symbols** are not supported and, except for `UnresolvedPolicy::ReportError`, lead to incorrect Wasm code, such as invalid data address or invalid table index that cannot be patched during later dynamic Wasm linking with modules declaring those symbols. This is different to other relocations that support undefined symbols by declaring correspond Wasm imports. For more robust behavior, `wasm-ld` should probably report an error for such unsupported PIC relocations, independent of the `UnresolvedPolicy`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions