[clang] [llvm] [clang-tools-extra] [lld] [Object][Wasm] Allow parsing of GC types in type and table sections (PR #79235)
Sam Clegg via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 24 15:24:06 PST 2024
================
@@ -259,10 +259,13 @@ class InputFunction : public InputChunk {
file->codeSection->Content.slice(inputSectionOffset, function->Size);
debugName = function->DebugName;
comdat = function->Comdat;
+ assert(s.Kind != WasmSignature::Placeholder);
----------------
sbc100 wrote:
Should we give a more useful error message here?
Perhaps we simply not set `isRelocatableObject()` for any object file that contains any of these. Then the linker would simply error on them before getting this far?
https://github.com/llvm/llvm-project/pull/79235
More information about the cfe-commits
mailing list