Note that some other commands that are not compilers, like ld or ar, are also wrapped with the help of a profile. This is because they, too, are involved in the compilation process.
This can be necessary on embedded systems which do not have access to a file system.