[llvm] b156514 - Remove unused private fields
Geoffrey Martin-Noble via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 19 13:55:07 PST 2020
Author: Geoffrey Martin-Noble
Date: 2020-11-19T13:54:54-08:00
New Revision: b156514f8d9951176e768e6078162dbaacccccdf
URL: https://github.com/llvm/llvm-project/commit/b156514f8d9951176e768e6078162dbaacccccdf
DIFF: https://github.com/llvm/llvm-project/commit/b156514f8d9951176e768e6078162dbaacccccdf.diff
LOG: Remove unused private fields
Unused since https://reviews.llvm.org/D91762 and triggering
-Wunused-private-field
```
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:365:13: error: private field 'GetArgTLS' is not used [-Werror,-Wunused-private-field]
Constant *GetArgTLS;
^
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:366:13: error: private field 'GetRetvalTLS' is not used [-Werror,-Wunused-private-field]
Constant *GetRetvalTLS;
```
Reviewed By: stephan.yichao.zhao
Differential Revision: https://reviews.llvm.org/D91820
Added:
Modified:
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
index 02ec813c46c9..ee8766b7e4b6 100644
--- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@ -362,8 +362,6 @@ class DataFlowSanitizer {
ConstantInt *ShadowPtrMul;
Constant *ArgTLS;
Constant *RetvalTLS;
- Constant *GetArgTLS;
- Constant *GetRetvalTLS;
Constant *ExternalShadowMask;
FunctionType *DFSanUnionFnTy;
FunctionType *DFSanUnionLoadFnTy;
More information about the llvm-commits
mailing list