summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/Targets
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-06-24 14:31:09 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-06-24 14:31:09 +0000
commite705074c397d50e995f73dcc8c75174bbee13673 (patch)
tree921ac5d17a800713541153f48bbcaac43b8f488e /llvm/lib/ExecutionEngine/RuntimeDyld/Targets
parent90ea9ebb003512713a7955c105f0fd9eb8d7ce7c (diff)
downloadbcm5719-llvm-e705074c397d50e995f73dcc8c75174bbee13673.tar.gz
bcm5719-llvm-e705074c397d50e995f73dcc8c75174bbee13673.zip
ExecutionEngine: silence unused value warning
The Value is only used in debug or asserts builds. Just cast to void to silence an unused variable warning. llvm-svn: 273684
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/Targets')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
index bcd2860ad3c..ff7d1d43925 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
@@ -244,6 +244,7 @@ public:
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
<< " RelType: IMAGE_REL_ARM_BRANCH20T"
<< " Value: " << static_cast<int32_t>(Value) << '\n');
+ static_cast<void>(Value);
llvm_unreachable("unimplemented relocation");
break;
}
@@ -258,6 +259,7 @@ public:
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
<< " RelType: IMAGE_REL_ARM_BRANCH24T"
<< " Value: " << static_cast<int32_t>(Value) << '\n');
+ static_cast<void>(Value);
llvm_unreachable("unimplemented relocation");
break;
}
@@ -272,6 +274,7 @@ public:
DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
<< " RelType: IMAGE_REL_ARM_BLX23T"
<< " Value: " << static_cast<int32_t>(Value) << '\n');
+ static_cast<void>(Value);
llvm_unreachable("unimplemented relocation");
break;
}
OpenPOWER on IntegriCloud