[llvm] 5a90231 - [NFC][hwasan] Make most class functions private
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 15:58:31 PDT 2023
Author: Vitaly Buka
Date: 2023-08-29T15:57:49-07:00
New Revision: 5a902312f1965cf84016b71add38c212c3cf4168
URL: https://github.com/llvm/llvm-project/commit/5a902312f1965cf84016b71add38c212c3cf4168
DIFF: https://github.com/llvm/llvm-project/commit/5a902312f1965cf84016b71add38c212c3cf4168.diff
LOG: [NFC][hwasan] Make most class functions private
Added:
Modified:
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
index a84f48eecd652c..cf2708ca0cf748 100644
--- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -273,9 +273,11 @@ class HWAddressSanitizer {
initializeModule();
}
+ void sanitizeFunction(Function &F, FunctionAnalysisManager &FAM);
+
+private:
void setSSI(const StackSafetyGlobalInfo *S) { SSI = S; }
- void sanitizeFunction(Function &F, FunctionAnalysisManager &FAM);
void initializeModule();
void createHwasanCtorComdat();
@@ -331,7 +333,6 @@ class HWAddressSanitizer {
void instrumentPersonalityFunctions();
-private:
LLVMContext *C;
Module &M;
const StackSafetyGlobalInfo *SSI;
More information about the llvm-commits
mailing list