This is an archive of the discontinued LLVM Phabricator instance.

Clang thinks "char" is signed when using a thumb triple
ClosedPublic

Authored by olista01 on Oct 24 2014, 3:08 AM.

Details

Reviewers
rengolin
Summary

'char' is unsigned on all ARM and Thumb architectures. Clang gets this right for ARM, and for thumb when using and arm triple and the -mthumb option, but gets it wrong for thumb triples. This fixes that.

Diff Detail

Event Timeline

olista01 updated this revision to Diff 15388.Oct 24 2014, 3:08 AM
olista01 retitled this revision from to Clang thinks "char" is signed when using a thumb triple.
olista01 updated this object.
olista01 edited the test plan for this revision. (Show Details)
olista01 set the repository for this revision to rL LLVM.
olista01 added a subscriber: Unknown Object (MLST).
rengolin accepted this revision.Oct 24 2014, 4:31 AM
rengolin added a reviewer: rengolin.
rengolin added a subscriber: rengolin.

LGTM, thanks!

This revision is now accepted and ready to land.Oct 24 2014, 4:31 AM
olista01 closed this revision.Oct 24 2014, 4:39 AM

Thanks, committed revision 220555.