This is an archive of the discontinued LLVM Phabricator instance.

MC: Fix dumping of MCFragment values
ClosedPublic

Authored by sbc100 on Jun 21 2017, 4:35 PM.

Details

Summary

Without this cast the "char" overload of operator<< is
chosen and the values are output as an ascii char rather
than an integer.

Event Timeline

sbc100 created this revision.Jun 21 2017, 4:35 PM
sbc100 updated this revision to Diff 103489.Jun 21 2017, 4:37 PM
sbc100 retitled this revision from Fix dumping of fill fragment values Without this cast the "char" overload of operator<< is chosen and the fill value is output as an ascii rather than an integer. to Fix dumping of fill fragment values.
sbc100 edited the summary of this revision. (Show Details)

use cast

sbc100 edited the summary of this revision. (Show Details)Jun 21 2017, 4:38 PM
sbc100 added a reviewer: dschuff.
sbc100 retitled this revision from Fix dumping of fill fragment values to MC: Fix dumping of MCFragment values.Jun 21 2017, 4:40 PM
sbc100 added a subscriber: llvm-commits.
dschuff accepted this revision.Jun 21 2017, 5:09 PM
This revision is now accepted and ready to land.Jun 21 2017, 5:09 PM
This revision was automatically updated to reflect the committed changes.