[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 24 13:21:00 PDT 2024


================
@@ -1935,12 +1940,12 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple,
     SetFixed(0);
   } else if (ClMappingOffset.getNumOccurrences() > 0) {
     SetFixed(ClMappingOffset);
-    WithFrameRecord = false;
   } else if (ClEnableKhwasan || InstrumentWithCalls) {
     SetFixed(0);
     WithFrameRecord = false;
----------------
vitalybuka wrote:

No, that's exactly what I mean.
We will not set 'WithFrameRecord = false;' from ClMappingOffset or ClMappingOffsetDynamic

https://github.com/llvm/llvm-project/pull/109620


More information about the llvm-branch-commits mailing list