[llvm] [NFC][hwasan] Remove code duplication in ShadowMapping::init (PR #109618)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 16:12:12 PDT 2024


================
@@ -1939,10 +1943,7 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple,
   } else if (ClWithIfunc) {
     Kind = OffsetKind::kIfunc;
     WithFrameRecord = false;
-  } else if (ClWithTls) {
----------------
fmayer wrote:

I understand, but standing on it's own, it's unclear why this CL makes things better.

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


More information about the llvm-commits mailing list