[all-commits] [llvm/llvm-project] 2a631a: [lld/COFF] Add /dwodir to enable DWARF fission wit...

HaohaiWen via All-commits all-commits at lists.llvm.org
Fri Jun 30 17:59:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a631a8fedc21eae9568feb69d405800fa9648e5
      https://github.com/llvm/llvm-project/commit/2a631a8fedc21eae9568feb69d405800fa9648e5
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M lld/COFF/Config.h
    M lld/COFF/Driver.cpp
    M lld/COFF/LTO.cpp
    M lld/COFF/Options.td
    A lld/test/COFF/lto-debug-fission.ll

  Log Message:
  -----------
  [lld/COFF] Add /dwodir to enable DWARF fission with LTO

This patch added /dwodir to lld/COFF which is equivalent to lld/ELF
option -plugin-opt=dwo_dir=. This option tells LTO backend to create
dwo directory and files and all dwo files will be in it. Otherwise all
dwarf sections will be embeded into image even if -gsplit-dwarf is
specified when using LTO.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D154070




More information about the All-commits mailing list