This is an archive of the discontinued LLVM Phabricator instance.

Improve OMPT code: remove use of assignment to multiple struct fields using .fieldname
ClosedPublic

Authored by jmellorcrummey on Jun 29 2015, 1:32 AM.

Details

Summary

Remove use of assignment to multiple struct fields using .fieldname syntax. This doesn't work with gcc 4.8 and earlier.
Replace with elementwise field assignments.

Diff Detail

Repository
rL LLVM

Event Timeline

jmellorcrummey retitled this revision from to Improve OMPT code: remove use of assignment to multiple struct fields using .fieldname .
jmellorcrummey updated this object.
jmellorcrummey edited the test plan for this revision. (Show Details)
jmellorcrummey added a reviewer: jcownie.
jmellorcrummey set the repository for this revision to rL LLVM.
jmellorcrummey added subscribers: Unknown Object (MLST), Unknown Object (MLST).

Remove use of assignment to multiple struct fields using .fieldname syntax. This doesn't work with gcc 4.8 and earlier.
Replace with elementwise field assignments.

omalyshe accepted this revision.Jun 29 2015, 6:04 AM
omalyshe added a reviewer: omalyshe.
omalyshe added a subscriber: omalyshe.

LGTM.

This revision is now accepted and ready to land.Jun 29 2015, 6:04 AM
This revision was automatically updated to reflect the committed changes.