Remove unused private fields
authorGeoffrey Martin-Noble <gcmn@google.com>
Thu, 19 Nov 2020 21:34:40 +0000 (13:34 -0800)
committerGeoffrey Martin-Noble <gcmn@google.com>
Thu, 19 Nov 2020 21:54:54 +0000 (13:54 -0800)
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

llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

index 02ec813..ee8766b 100644 (file)
@@ -362,8 +362,6 @@ class DataFlowSanitizer {
   ConstantInt *ShadowPtrMul;
   Constant *ArgTLS;
   Constant *RetvalTLS;
-  Constant *GetArgTLS;
-  Constant *GetRetvalTLS;
   Constant *ExternalShadowMask;
   FunctionType *DFSanUnionFnTy;
   FunctionType *DFSanUnionLoadFnTy;