forked from OSchip/llvm-project
[JITLink] Fix an unused variable warning.
llvm-svn: 373692
This commit is contained in:
parent
4a71328f15
commit
6fd9129aaf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue