[all-commits] [llvm/llvm-project] 4674e3: [Tooling/Inclusion] Refactor to use tables for com...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue Oct 24 04:15:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4674e303d2603f5d3c8faba2de676ed6ad0299a0
      https://github.com/llvm/llvm-project/commit/4674e303d2603f5d3c8faba2de676ed6ad0299a0
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M clang/lib/Tooling/Inclusions/Stdlib/StandardLibrary.cpp

  Log Message:
  -----------
  [Tooling/Inclusion] Refactor to use tables for compile time

The macro expansion takes 13s and generates an 1.5M obj file, table uses
2s and 680k .o file.

Sanitizers take multiple minutes to compile the old version, while
having negligible overhead on the new version.

No change in functionality.




More information about the All-commits mailing list