This is an archive of the discontinued LLVM Phabricator instance.

[dsymutil] Track incompleteness across unions
ClosedPublic

Authored by JDevlieghere on Sep 24 2021, 1:22 PM.

Details

Summary

When determining the incompleteness of a DIE based on its children, make sure we propagate it across union types. See test case for an example. Without this patch we never emit the definition of Container_ivars.

Diff Detail

Event Timeline

JDevlieghere created this revision.Sep 24 2021, 1:22 PM
JDevlieghere requested review of this revision.Sep 24 2021, 1:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2021, 1:22 PM
friss accepted this revision.Sep 24 2021, 2:24 PM

LGTM

This revision is now accepted and ready to land.Sep 24 2021, 2:24 PM
This revision was landed with ongoing or failed builds.Sep 24 2021, 2:26 PM
This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.Sep 24 2021, 3:03 PM

Looks like this breaks tests on windows: http://45.33.8.238/win/45862/step_11.txt

Please take a look!

Looks like this breaks tests on windows: http://45.33.8.238/win/45862/step_11.txt

Please take a look!

Should be fixed by d0649320bf39efddf10a430c1821911060d684b2