[all-commits] [llvm/llvm-project] 5b6c08: [clang][deps] Reset some benign codegen options

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Dec 8 02:54:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b6c08379b437cb22fcd63707b94df1ede23d9db
      https://github.com/llvm/llvm-project/commit/5b6c08379b437cb22fcd63707b94df1ede23d9db
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    M clang/test/ClangScanDeps/Inputs/removed-args/cdb.json.template
    M clang/test/ClangScanDeps/removed-args.c

  Log Message:
  -----------
  [clang][deps] Reset some benign codegen options

Some command-line codegen arguments are likely to differ between identical modules discovered from different translation units. This patch removes them to make builds deterministic and/or reduce the number of built modules.

Reviewed By: Bigcheese

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


  Commit: 9b914aacbd5414e48fa2a58e0082e7b69c783278
      https://github.com/llvm/llvm-project/commit/9b914aacbd5414e48fa2a58e0082e7b69c783278
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M llvm/include/llvm/Support/SmallVectorMemoryBuffer.h

  Log Message:
  -----------
  [llvm] Remove out-of-date fixme from SmallVectorMemoryBuffer

This fixme first appeared in the codebase with the introduction of `ObjectMemoryBuffer` in rG93de2a12a36feaf1e6d8ff28c76db9b6cda4e844, but the constructor appears to never have been templated.

Reviewed By: dexonsmith

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


Compare: https://github.com/llvm/llvm-project/compare/0a54c325beff...9b914aacbd54


More information about the All-commits mailing list