[all-commits] [llvm/llvm-project] e80ee1: Reland [Frontend] avoid copy of PCH data when Prec...

Sam McCall via All-commits all-commits at lists.llvm.org
Thu Apr 21 12:16:56 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e80ee1829c59b34a574cd424ecdcbdff400f1401
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-04-21 (Thu, 21 Apr 2022)

  Changed paths:
    M clang/lib/Frontend/PrecompiledPreamble.cpp
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  Reland [Frontend] avoid copy of PCH data when PrecompiledPreamble stores it in memory

This reverts commit eadf35270727ca743c11b07040bbfedd415ab6dc.

The reland fixes a couple of places in clang that were unneccesarily
requesting a null-terminated buffer of the PCH, and hitting assertions.

More information about the All-commits mailing list