HomePhabricator

HotColdSplitting: check that target supports cold calling convention

Description

HotColdSplitting: check that target supports cold calling convention

Before tagging a function with coldcc make sure the target supports cold calling
convention. Without this patch HotColdSplitting pass fails on aarch64 with:

fatal error: error in backend: Unsupported calling convention.

Details

Committed
spopSep 10 2018, 8:08 AM
Parents
rL341837: add flag instead of using a constant [NFC]
Branches
Unknown
Tags
Unknown