[BOLT] Fix a warning
This patch fixes:
bolt/lib/Rewrite/DWARFRewriter.cpp:187:18: error: private field
'Rewriter' is not used [-Werror,-Wunused-private-field]
Note that:
commit 61df854d4c4d5f955693394d57f09b9fcd35be67
Author: Sayhaan Siddiqui <49014204+sayhaan@users.noreply.github.com>
Date: Mon Jun 10 10:46:20 2024 -0700
removed the last use of Rewriter.
diff --git a/bolt/lib/Rewrite/DWARFRewriter.cpp b/bolt/lib/Rewrite/DWARFRewriter.cpp
index 7b62999..bf0e2bd 100644
--- a/bolt/lib/Rewrite/DWARFRewriter.cpp
+++ b/bolt/lib/Rewrite/DWARFRewriter.cpp
@@ -184,7 +184,6 @@
/// Emits debug information into .debug_info or .debug_types section.
class DIEStreamer : public DwarfStreamer {
DIEBuilder *DIEBldr;
- DWARFRewriter &Rewriter;
GDBIndex &GDBIndexSection;
private:
@@ -285,7 +284,7 @@
raw_pwrite_stream &OutFile,
DWARFLinkerBase::MessageHandlerTy Warning)
: DwarfStreamer(OutFileType, OutFile, Warning), DIEBldr(DIEBldr),
- Rewriter(Rewriter), GDBIndexSection(GDBIndexSection) {};
+ GDBIndexSection(GDBIndexSection) {};
using DwarfStreamer::emitCompileUnitHeader;