[PATCH] D91762: [dfsan] Remove deadcode from DFSanFunction::get*TLS*()

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


GMNGeoffrey added a comment.

FYI this results in unused private fields which causes diagnostic errors for `-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

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91762/new/

https://reviews.llvm.org/D91762



More information about the llvm-commits mailing list