[llvm] r300777 - Remove two unused variables (-Werror).
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 15:27:23 PDT 2017
Author: eugenis
Date: Wed Apr 19 17:27:23 2017
New Revision: 300777
URL: http://llvm.org/viewvc/llvm-project?rev=300777&view=rev
Log:
Remove two unused variables (-Werror).
Modified:
llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp?rev=300777&r1=300776&r2=300777&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cpp Wed Apr 19 17:27:23 2017
@@ -62,8 +62,6 @@ static const char *const SanCovWithCheck
static const char *const SanCovIndirCallName = "__sanitizer_cov_indir_call16";
static const char *const SanCovTracePCIndirName =
"__sanitizer_cov_trace_pc_indir";
-static const char *const SanCovTraceEnterName =
- "__sanitizer_cov_trace_func_enter";
static const char *const SanCovTracePCName = "__sanitizer_cov_trace_pc";
static const char *const SanCovTraceCmp1 = "__sanitizer_cov_trace_cmp1";
static const char *const SanCovTraceCmp2 = "__sanitizer_cov_trace_cmp2";
@@ -287,7 +285,6 @@ bool SanitizerCoverageModule::runOnModul
// At this point we create a dummy array of guards because we don't
// know how many elements we will need.
Type *Int32Ty = IRB.getInt32Ty();
- Type *Int8Ty = IRB.getInt8Ty();
if (!Options.TracePCGuard)
GuardArray =
More information about the llvm-commits
mailing list