HomePhabricator

[Profile] Do not assign counters to functions without bodies

Description

[Profile] Do not assign counters to functions without bodies

The root cause of the issues reported in D32406 and D34680 is that clang
instruments functions without bodies. Make it stop doing that, and also
teach it how to use old (incorrectly generated) profiles without
crashing.

Details

Committed
vedantkJun 30 2017, 2:02 PM
Parents
rL306882: Fix a typo. NFC.
Branches
Unknown
Tags
Unknown