A clang builtin for xray typed events. Differs from
__xray_customevent(...) by the presence of a type tag that is vended by
compiler-rt in typical usage. This allows xray handlers to expand logged
events with their type description and plugins to process traced events
based on type.
This change depends on D45633 for the intrinsic definition.
Please define a new XRayInstrKind:: for Typed instead of re-using Custom. This allows us to provide finer-grained control on the enabling/disabling of specific flags.
See clang/include/clang/Basic/XRayInstr.h on adding new values to XRayInstrKind and clang/lib/Basic/XRayInstr.cpp in supporting the new value when parsing from -fxray-instrumentation-bundle=. Also, you may need to update XRayArgs.{h,cpp} to teach it to understand how to parse the 'typed' flag value.