================
@@ -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:

Yes, perhaps another flag in the object file, ("hasGCTypes").. or perhaps the 
linker to iterate through the types section to make sure it understands them 
all and error out if it doesn't?

https://github.com/llvm/llvm-project/pull/79235
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to