[llvm] [NFC][hwasan] Remove code duplication in ShadowMapping::init (PR #109618)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 16:52:10 PDT 2024
================
@@ -1939,10 +1943,7 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple,
} else if (ClWithIfunc) {
Kind = OffsetKind::kIfunc;
WithFrameRecord = false;
- } else if (ClWithTls) {
----------------
vitalybuka wrote:
It's NFC which does not need make things better, just not make things worse. The point is to instruct this shuffling to have smaler non-NFC patch to get to https://github.com/llvm/llvm-project/pull/109621/files.
https://github.com/llvm/llvm-project/pull/109618
More information about the llvm-commits
mailing list