From 6fd9129aafdf3c81b0edc7f29ac9d7cfd380be12 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 4 Oct 2019 05:24:39 +0000 Subject: [PATCH] [JITLink] Fix an unused variable warning. llvm-svn: 373692 --- llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp b/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp index 355a000bb982..f80b0e7f8909 100644 --- a/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp +++ b/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp @@ -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;