[llvm] [hwasan] Allow stack traces even when fixed shadow is used (PR #109344)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 00:32:37 PDT 2024
================
@@ -1340,7 +1340,8 @@ Value *HWAddressSanitizer::getFrameRecordInfo(IRBuilder<> &IRB) {
}
void HWAddressSanitizer::emitPrologue(IRBuilder<> &IRB, bool WithFrameRecord) {
- if (!Mapping.InTls)
+ if (!Mapping.InTls ||
+ (Mapping.Offset != 0 && Mapping.Offset != kDynamicShadowSentinel))
----------------
vitalybuka wrote:
https://github.com/llvm/llvm-project/pull/109616
https://github.com/llvm/llvm-project/pull/109344
More information about the llvm-commits
mailing list