[PATCH] D152785: [COFF] Support -gsplit-dwarf for COFF on Windows
Haohai, Wen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 01:28:23 PDT 2023
HaohaiWen created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
HaohaiWen requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, jplehr, sstefan1, MaskRay, aheejin.
Herald added a reviewer: jdoerfert.
Herald added projects: clang, LLVM.
D152340 <https://reviews.llvm.org/D152340> has split WinCOFFObjectWriter to WinCOFFWriter. This patch adds
another WinCOFFWriter as DwoWriter to write Dwo sections to dwo file.
Driver options are also updated accordingly to support -gsplit-dwarf in
CL mode.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152785
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/split-debug.c
llvm/include/llvm/MC/MCWinCOFFObjectWriter.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/MC/MCAsmBackend.cpp
llvm/lib/MC/WinCOFFObjectWriter.cpp
llvm/test/DebugInfo/COFF/dwarf-headers.ll
llvm/test/DebugInfo/COFF/fission-cu.ll
llvm/test/DebugInfo/COFF/fission-sections.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152785.530809.patch
Type: text/x-patch
Size: 25530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230613/7d8f3350/attachment-0001.bin>
More information about the cfe-commits
mailing list