Page MenuHomePhabricator

[WIP][clang] Allow {u}int_fastN_t to be different to {u}int_leastN_t
Needs ReviewPublic

Authored by lenary on Jun 1 2020, 5:03 PM.

Details

Reviewers
luismarques
asb
Summary

This is in order to support psABIs where these two type sizes do not match for
specific values of N. The default implementation matches clang's current
behaviour where getLeastIntTypeByWidth is used for {u}int_fastN_t.

This patch is a Work-In-Progress. I am seeking guidance as to how to update
clang's stdint.h to match this change.

Diff Detail

Event Timeline

lenary created this revision.Jun 1 2020, 5:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2020, 5:03 PM