This is an archive of the discontinued LLVM Phabricator instance.

[WebAssebmly][MC] Ingore undefined init functions when writing object file
AcceptedPublic

Authored by sbc100 on Apr 19 2023, 3:10 PM.

Details

Summary

This is really a workaround for #62243. Ideally we would ensure that
llvm never emits object files that contain undefined init function, but
I have yet to find a small enough repro case to fully understand how the
such a things is possible.

Diff Detail

Event Timeline

sbc100 created this revision.Apr 19 2023, 3:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 3:10 PM
Herald added subscribers: pmatos, asb, ormris and 5 others. · View Herald Transcript
sbc100 requested review of this revision.Apr 19 2023, 3:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 3:10 PM

I see this as more of a workaround that fix for https://github.com/llvm/llvm-project/issues/62243 since I still haven't tracked down the root cause.

dschuff accepted this revision.Apr 28 2023, 12:02 PM
This revision is now accepted and ready to land.Apr 28 2023, 12:02 PM