[all-commits] [llvm/llvm-project] 91ace9: [lld-macho] Construct CFString literals by copying...

Jez Ng via All-commits all-commits at lists.llvm.org
Fri Sep 17 16:46:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91ace9f06202c567f5600c59f62188db3f3c7147
      https://github.com/llvm/llvm-project/commit/91ace9f06202c567f5600c59f62188db3f3c7147
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
    M lld/MachO/InputFiles.cpp

  Log Message:
  -----------
  [lld-macho] Construct CFString literals by copying the ConcatInputSection

... instead of constructing a new one each time. This allows us
to take advantage of {D105305}.

I didn't see a substantial difference when linking chromium_framework,
but this paves the way for reusing similar logic for splitting compact
unwind entries into sections. There are a lot more of those, so the
performance impact is significant.

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




More information about the All-commits mailing list