[llvm] [llvm-dwp] Replace MCStreamer with direct ELF writer for zero-copy output (PR #192112)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 10:51:36 PDT 2026
================
@@ -28,6 +33,115 @@ enum Dwarf64StrOffsetsPromotion {
Always, ///< Always emit .debug_str_offsets talbes as DWARF64 for testing.
};
+/// Section identifiers for DWP output.
+enum DWPSectionId : unsigned {
+ DS_Info,
+ DS_Types,
+ DS_Abbrev,
+ DS_Line,
+ DS_Loc,
+ DS_Loclists,
+ DS_Rnglists,
+ DS_Macro,
+ DS_Str,
+ DS_StrOffsets,
+ DS_CUIndex,
+ DS_TUIndex,
+ DS_NumSections
+};
+
+/// Direct ELF writer for DWP output, bypassing MCStreamer.
----------------
dwblaikie wrote:
ah, sure - sorry, forgot about that pending feedback when I pressed the merge and submit button
https://github.com/llvm/llvm-project/pull/192112
More information about the llvm-commits
mailing list