From 0df06f127073532e646109c4cae768418567cc31 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373692 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/JITLink/EHFrameSupport.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp b/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp index 355a000bb98..f80b0e7f890 100644 --- a/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp +++ b/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; -- 2.40.0