This allows for using the frame record feature (which uses __hwasan_tls) independently from however the user wants to access the shadow base, which prior was only usable if shadow wasn't accessed through the TLS variable or ifuncs.
Frame recording can be explicitly set according to ShadowMapping::WithFrameRecord in ShadowMapping::init. Currently, it is only enabled on Fuchsia and if TLS is used, so this should mimic the old behavior.
Added an extra case to prologue.ll that covers this new case.
I think this will break Linux kernel build.
They use -fsanitize=kernel-hwaddress with one of
or
The assumption here is that InTls == 0 means there is no thread slot, and therefore no frame recording.