We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8632e8b commit cd80ed4Copy full SHA for cd80ed4
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
@@ -412,7 +412,7 @@ class SubProcessFunctionExecutorImpl
412
413
// Check (if assertions are enabled) that we are actually running on the
414
// CPU that was specified by the user.
415
- unsigned int CurrentCPU;
+ [[maybe_unused]] unsigned int CurrentCPU;
416
assert(getcpu(&CurrentCPU, nullptr) == 0 &&
417
"Expected getcpu call to succeed.");
418
assert(static_cast<int>(CurrentCPU) == CPUToUse &&
0 commit comments