[PATCH] D152785: [COFF] Support -gsplit-dwarf for COFF on Windows

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 22 18:11:13 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFContext.cpp:1896
+        // Each section in COFF can directly contain relocations.
+        if (isa<COFFObjectFile>(&Obj) && Section.relocations().empty())
+          continue;
----------------
HaohaiWen wrote:
> skan wrote:
> > Should we merge the check into line 1894?
> It's more elegant to not merge. 
D153602 should make this change unneeded.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152785/new/

https://reviews.llvm.org/D152785



More information about the cfe-commits mailing list