[all-commits] [llvm/llvm-project] b2d079: [CSSPGO] Explicitly disallow Binary and Compact Bi...

WenleiHe via All-commits all-commits at lists.llvm.org
Mon Apr 26 09:10:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2d079379b6c7b3942d728c9b290ae252f7921c5
      https://github.com/llvm/llvm-project/commit/b2d079379b6c7b3942d728c9b290ae252f7921c5
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M llvm/lib/ProfileData/SampleProfWriter.cpp

  Log Message:
  -----------
  [CSSPGO] Explicitly disallow Binary and Compact Binary profile format for CSSPGO

CSSPGO only supports text and extended binary profile now. Raw binary does not have the metadata section CSSPGO needs, and Compact binary profile needs special handling for GUID based context names, which is not yet implemented.

Disasslow these two format for CSSPGO profile writing to avoid silently generating invalid profiles.

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




More information about the All-commits mailing list