================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to