Page MenuHomePhabricator

[llgo] debug: create replaceable type through DIBuilder
ClosedPublic

Authored by axw on Feb 24 2015, 2:28 AM.

Details

Summary

llgo was asserting in DebugInfo, which was interpreting
the temporary MDNodes we were creating as DIScopes instead
of DITypes (in DIScope::getRef).

This proposal changes llgo to use DIBuilder's
createReplaceableCompositeType method to create a DIType
that can be RAUW'd.

Diff Detail

Event Timeline

axw updated this revision to Diff 20583.Feb 24 2015, 2:28 AM
axw retitled this revision from to [llgo] debug: create replaceable type through DIBuilder.
axw updated this object.
axw edited the test plan for this revision. (Show Details)
axw added a reviewer: pcc.
axw added a subscriber: Unknown Object (MLST).
pcc accepted this revision.Mar 2 2015, 12:38 AM
pcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Mar 2 2015, 12:38 AM
axw closed this revision.Mar 2 2015, 4:44 AM