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;
59
59
60
60
UnwindInfoManager::~UnwindInfoManager () {
61
61
if (int Err = RemoveFindDynamicUnwindSections ((void *)&findSections)) {
62
+ (void )Err; // Silence unused variable warning in release builds.
62
63
LLVM_DEBUG ({
63
64
dbgs () << " Failed call to " << RemoveFnName << " : error = " << Err
64
65
<< " \n " ;
@@ -86,6 +87,7 @@ bool UnwindInfoManager::TryEnable() {
86
87
Instance.reset (new UnwindInfoManager ());
87
88
88
89
if (auto Err = AddFn ((void *)&findSections)) {
90
+ (void )Err; // Silence unused variable warning in release builds.
89
91
LLVM_DEBUG ({
90
92
dbgs () << " Failed call to " << AddFnName << " : error = " << Err << " \n " ;
91
93
});
You can’t perform that action at this time.
0 commit comments