[all-commits] [llvm/llvm-project] f17059: [InstrProf][Correlator] Do not compress names when...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Tue Jan 25 12:52:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f170595249196f1ca5c3a70118fedc1043c093b3
      https://github.com/llvm/llvm-project/commit/f170595249196f1ca5c3a70118fedc1043c093b3
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
    M compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
    M llvm/include/llvm/ProfileData/InstrProfCorrelator.h
    M llvm/lib/ProfileData/InstrProfCorrelator.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp

  Log Message:
  -----------
  [InstrProf][Correlator] Do not compress names when reading debug info

There is no need to compress the names string when correlating with
debug info since InstrProfReader will immediately uncompress it anyway.
This also removes the dependency on zlib in this case.

Reviewed By: kyulee

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




More information about the All-commits mailing list