[all-commits] [llvm/llvm-project] adfad4: Forward declare the DWARFCache to avoid including ...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Thu Nov 14 14:17:53 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: adfad4d7c84657026bc4f96d310c33b9550c4334
      https://github.com/llvm/llvm-project/commit/adfad4d7c84657026bc4f96d310c33b9550c4334
  Author: Reid Kleckner <rnk at google.com>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M lld/COFF/InputFiles.cpp
    M lld/COFF/InputFiles.h
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputFiles.h

  Log Message:
  -----------
  Forward declare the DWARFCache to avoid including LLVM DWARF details

LLD's DWARF.h header leaks a lot of LLVM DWARF includes that LLD doesn't
need. For Chunks.cpp, I see a compile time decrease of 3.1s to 2.7s.




More information about the All-commits mailing list