[compiler-rt] 7c35bf8 - [sanitizer_common] Remove unused var in test
George Balatsouras via llvm-commits
llvm-commits at lists.llvm.org
Thu May 20 20:43:06 PDT 2021
Author: George Balatsouras
Date: 2021-05-20T20:42:30-07:00
New Revision: 7c35bf85bfdb52aba6b61433d0c0b058f958202f
URL: https://github.com/llvm/llvm-project/commit/7c35bf85bfdb52aba6b61433d0c0b058f958202f
DIFF: https://github.com/llvm/llvm-project/commit/7c35bf85bfdb52aba6b61433d0c0b058f958202f.diff
LOG: [sanitizer_common] Remove unused var in test
Reviewed By: stephan.yichao.zhao
Differential Revision: https://reviews.llvm.org/D102898
Added:
Modified:
compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
index 504fa1e51457..cdf8a80657a8 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
@@ -268,7 +268,6 @@ using StackPrintDeathTest = StackPrintTest;
TEST_F(StackPrintDeathTest, SKIP_ON_SPARC(RequiresNonNullBuffer)) {
UnwindFast();
- char buf[100];
EXPECT_DEATH(trace.PrintTo(NULL, 100), "");
}
More information about the llvm-commits
mailing list