In D130807 we added the skipprofile attribute. This commit
changes the format so we can either forbid or skip profiling
functions by adding the noprofile or skipprofile attributes,
respectively. The behavior of the original format remains
unchanged.
Also, add the skipprofile attribute when using
-fprofile-function-groups.
This was originally landed as https://reviews.llvm.org/D130808 but was
reverted due to a Windows test failure.
I think the Windows test from D130808 broke because this sed command was interacting badly with newlines. Using multiple echo commands seems to work.