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

Florian Mayer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 24 13:23:19 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;
----------------
fmayer wrote:

Please add

"Do not disable frame records for fixed offset"

to the commit message, because that's what this change also does, correct?

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


More information about the llvm-branch-commits mailing list