[compiler-rt] r342320 - [XRay] Remove the unused variable
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 14 23:25:17 PDT 2018
Author: phosek
Date: Fri Sep 14 23:25:17 2018
New Revision: 342320
URL: http://llvm.org/viewvc/llvm-project?rev=342320&view=rev
Log:
[XRay] Remove the unused variable
This broke the fdr-single-thread test after FDRLoggingOptions struct
has been removed in r342318.
Modified:
compiler-rt/trunk/test/xray/TestCases/Posix/fdr-single-thread.cc
Modified: compiler-rt/trunk/test/xray/TestCases/Posix/fdr-single-thread.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/xray/TestCases/Posix/fdr-single-thread.cc?rev=342320&r1=342319&r2=342320&view=diff
==============================================================================
--- compiler-rt/trunk/test/xray/TestCases/Posix/fdr-single-thread.cc (original)
+++ compiler-rt/trunk/test/xray/TestCases/Posix/fdr-single-thread.cc Fri Sep 14 23:25:17 2018
@@ -16,8 +16,6 @@
[[clang::xray_always_instrument]] void __attribute__((noinline)) fn() { }
int main(int argc, char *argv[]) {
- FDRLoggingOptions Opts;
-
auto status = __xray_log_init_mode("xray-fdr", "");
assert(status == XRayLogInitStatus::XRAY_LOG_INITIALIZED);
More information about the llvm-commits
mailing list