aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Target.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2021-06-07 14:27:07 -0700
committerLeonard Chan <leonardchan@google.com>2021-06-09 12:55:19 -0700
commit314c049142ed22154fbe37de3a566ef38b884fab (patch)
tree9d37e044c425cf00675e10c99473f9505a464793 /llvm/lib/TextAPI/Target.cpp
parent5dbe3bf4b8dbb7e67d41c7c1360f15d512dd72a0 (diff)
downloadllvm-314c049142ed22154fbe37de3a566ef38b884fab.zip
llvm-314c049142ed22154fbe37de3a566ef38b884fab.tar.gz
llvm-314c049142ed22154fbe37de3a566ef38b884fab.tar.bz2
[compiler-rt][hwasan] Decouple use of the TLS global for getting the shadow base and using the frame record feature
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. Differential Revision: https://reviews.llvm.org/D103841
Diffstat (limited to 'llvm/lib/TextAPI/Target.cpp')
0 files changed, 0 insertions, 0 deletions