aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorHaohai Wen <haohai.wen@intel.com>2023-06-25 11:54:23 +0800
committerhh <whh108@live.com>2023-06-25 11:54:39 +0800
commit3eee5aa528abd67bb6d057e25ce1980d0d38c445 (patch)
treef5ba71c45c4b9010c203bfb4b9cd130948d283c6 /clang/lib/Sema/SemaModule.cpp
parentdf8d6d95ca64c70b3acc5a4266326966f3e6f93e (diff)
downloadllvm-3eee5aa528abd67bb6d057e25ce1980d0d38c445.zip
llvm-3eee5aa528abd67bb6d057e25ce1980d0d38c445.tar.gz
llvm-3eee5aa528abd67bb6d057e25ce1980d0d38c445.tar.bz2
[COFF] Support -gsplit-dwarf for COFF on Windows
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. e.g. $ clang-cl -c -gdwarf -gsplit-dwarf foo.c Like what -gsplit-dwarf did in ELF, using this option will create DWARF object (.dwo) file. DWARF debug info is split between COFF object and DWARF object file. It can reduce the executable file size especially for large project. Reviewed By: skan, MaskRay Differential Revision: https://reviews.llvm.org/D152785
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions