Reland [COFF] Support -gsplit-dwarf for COFF on Windows
authorHaohai Wen <haohai.wen@intel.com>
Mon, 26 Jun 2023 07:27:06 +0000 (15:27 +0800)
committerHaohai Wen <haohai.wen@intel.com>
Mon, 26 Jun 2023 07:48:38 +0000 (15:48 +0800)
commit82dff24bde112984314568e7d581379fd0ea48e6
tree60cbbdeefe892c32e349d65b927db3dc064734a8
parent794970988e9fd02fdb8ddc8479f4dcc7cdd93474
Reland [COFF] Support -gsplit-dwarf for COFF on Windows

This relands 3eee5aa528abd67bb6d057e25ce1980d0d38c445 with fixes.
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/MC/MCAsmBackend.cpp
llvm/lib/MC/WinCOFFObjectWriter.cpp
llvm/test/DebugInfo/COFF/dwarf-headers.ll [new file with mode: 0644]
llvm/test/DebugInfo/COFF/fission-cu.ll [new file with mode: 0644]
llvm/test/DebugInfo/COFF/fission-sections.ll [new file with mode: 0644]