[all-commits] [llvm/llvm-project] 24201b: [SampleFDO] Set ProfileIsFS bit properly from the ...

xur-llvm via All-commits all-commits at lists.llvm.org
Wed Aug 25 09:17:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24201b6437b2acad035fe474ec37f733e9045174
      https://github.com/llvm/llvm-project/commit/24201b6437b2acad035fe474ec37f733e9045174
  Author: Rong Xu <xur at google.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/test/tools/llvm-profdata/sample-fs.test

  Log Message:
  -----------
  [SampleFDO] Set ProfileIsFS bit properly from the internal option

We have "-profile-isfs" internal option for text, binary, and
compactbinary format (mostly for debug and test purpose). We
need to set the related flag in FunctionSamples so that ProfileIsFS
is written to the header in extbinary format.

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




More information about the All-commits mailing list