File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
llvm/lib/ExecutionEngine/Orc/TargetProcess Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ static int (*RemoveFindDynamicUnwindSections)(void *) = nullptr;
5959
6060UnwindInfoManager::~UnwindInfoManager () {
6161 if (int Err = RemoveFindDynamicUnwindSections ((void *)&findSections)) {
62+ (void )Err; // Silence unused variable warning in release builds.
6263 LLVM_DEBUG ({
6364 dbgs () << " Failed call to " << RemoveFnName << " : error = " << Err
6465 << " \n " ;
@@ -86,6 +87,7 @@ bool UnwindInfoManager::TryEnable() {
8687 Instance.reset (new UnwindInfoManager ());
8788
8889 if (auto Err = AddFn ((void *)&findSections)) {
90+ (void )Err; // Silence unused variable warning in release builds.
8991 LLVM_DEBUG ({
9092 dbgs () << " Failed call to " << AddFnName << " : error = " << Err << " \n " ;
9193 });
You can’t perform that action at this time.
0 commit comments