diff options
author | Kyungtak Woo <kevinwkt@google.com> | 2025-10-07 20:54:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 02:54:23 +0000 |
commit | d9a568034ff817060dc0a83dc3ea160b058a5935 (patch) | |
tree | da005b3dc11307231bbf23220de1f77a43aaf8b4 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 34fda634f7066bab28031eda0ebb637ccd1478a8 (diff) | |
download | llvm-d9a568034ff817060dc0a83dc3ea160b058a5935.zip llvm-d9a568034ff817060dc0a83dc3ea160b058a5935.tar.gz llvm-d9a568034ff817060dc0a83dc3ea160b058a5935.tar.bz2 |
[lld][WebAssembly] update error to continue for R_WASM_FUNCTION_INDEX_I32 (#162403)
with some builds we're getting
`[libcxx/include/optional:874](libcxx/include/optional): libc++
Hardening assertion this->has_value() failed: optional operator* called
on a disengaged value` since error() adds the errmsg into the stream and
continues, but given it's an unsupported relocation type it eventually
crashes.
Given that I see that we're already using Fatal() in some of the other
places where it hits unsupported relocation type, my uneducated guess is
that this should be fine.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions