[llvm] [BOLT][DWARF][NFC] Replace usages of GDBIndex functions (PR #94701)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 11:12:20 PDT 2024


================
@@ -731,7 +735,8 @@ void DWARFRewriter::updateDebugInfo() {
   auto TheTriple = std::make_unique<Triple>(File->makeTriple());
   std::unique_ptr<DIEStreamer> Streamer =
       createDIEStreamer(*TheTriple, *ObjOS, "TypeStreamer", DIEBlder, *this);
----------------
ayermolo wrote:

Can we pass GDBIndexSection into createDIEStreamer like we do for DIEBuilder so we dont't have to pass it through finalizeTypeSections --> emitUnit?

https://github.com/llvm/llvm-project/pull/94701


More information about the llvm-commits mailing list