[JITLink] Fix an unused variable warning.

llvm-svn: 373692
This commit is contained in:
Lang Hames 2019-10-04 05:24:39 +00:00
parent 4a71328f15
commit 6fd9129aaf
1 changed files with 2 additions and 3 deletions

View File

@ -27,12 +27,11 @@ EHFrameBinaryParser::EHFrameBinaryParser(JITTargetAddress EHFrameAddress,
Error EHFrameBinaryParser::addToGraph() {
while (!EHFrameReader.empty()) {
size_t RecordOffset = EHFrameReader.getOffset();
JITTargetAddress RecordAddress = EHFrameAddress + RecordOffset;
LLVM_DEBUG({
dbgs() << "Processing eh-frame record at "
<< format("0x%016" PRIx64, RecordAddress) << " (offset "
<< RecordOffset << ")\n";
<< format("0x%016" PRIx64, EHFrameAddress + RecordOffset)
<< " (offset " << RecordOffset << ")\n";
});
size_t RecordLength = 0;