[all-commits] [llvm/llvm-project] 8fe8d6: [clang][deps] Make clang-scan-deps write modules i...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Wed May 3 12:13:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fe8d69ddf881db70cb8df31e614a06e633e2c5f
      https://github.com/llvm/llvm-project/commit/8fe8d69ddf881db70cb8df31e614a06e633e2c5f
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M clang-tools-extra/clangd/Compiler.cpp
    M clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h
    M clang/include/clang/Serialization/PCHContainerOperations.h
    M clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Serialization/PCHContainerOperations.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    A clang/test/ClangScanDeps/module-format.c
    M clang/tools/libclang/CIndex.cpp
    M clang/tools/libclang/Indexing.cpp

  Log Message:
  -----------
  [clang][deps] Make clang-scan-deps write modules in raw format

We have no use for debug info for the scanner modules, and writing raw
ast files speeds up scanning ~15% in some cases. Note that the compile
commands produced by the scanner will still build the obj format (if
requested), and the scanner can *read* obj format pcms, e.g. from a PCH.

rdar://108807592

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




More information about the All-commits mailing list