Using a layer of indirection to point to RTTI through function prologues
is not supported on some setups. One reported error message is:
error: Cannot represent a difference across sections
This is a regression. This patch limits the indirect RTTI behavior to
Darwin, where we know it works. We can add more configurations to the
whitelist once we know it won't be a regression.
For context, see the mailing list discussion re:
r313096 - [ubsan] Function Sanitizer: Don't require writable text segments
Testing: check-clang, check-ubsan