[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:40:00 PST 2020
GMNGeoffrey added a comment.
In D91762#2406552 <https://reviews.llvm.org/D91762#2406552>, @GMNGeoffrey wrote:
> 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;
Fixed in https://reviews.llvm.org/D91820/
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