[PATCH] D91820: Remove unused private fields

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 13:36:19 PST 2020


GMNGeoffrey created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
GMNGeoffrey requested review of this revision.

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;


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91820

Files:
  llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp


Index: llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@ -362,8 +362,6 @@
   ConstantInt *ShadowPtrMul;
   Constant *ArgTLS;
   Constant *RetvalTLS;
-  Constant *GetArgTLS;
-  Constant *GetRetvalTLS;
   Constant *ExternalShadowMask;
   FunctionType *DFSanUnionFnTy;
   FunctionType *DFSanUnionLoadFnTy;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91820.306523.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/f1c09156/attachment.bin>


More information about the llvm-commits mailing list