[all-commits] [llvm/llvm-project] 077d89: [DWARFLinker] Only extract unit DIEs when cloning ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Oct 18 14:53:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 077d89f0ee840d88a7d59a4f85d152d9c6f4758a
      https://github.com/llvm/llvm-project/commit/077d89f0ee840d88a7d59a4f85d152d9c6f4758a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M llvm/lib/DWARFLinker/DWARFLinker.cpp

  Log Message:
  -----------
  [DWARFLinker] Only extract unit DIEs when cloning clang modules (#69495)

Reduce memory usage by only extract unit DIEs when cloning clang
modules. We don't need the full debug info yet at this stage. This
reduces peak memory usage of dsymutil when linking the swift driver by
multiple gigabytes.

rdar://117156180




More information about the All-commits mailing list