[all-commits] [llvm/llvm-project] c94b65: [llvm-cov gcov] Drop support for clang<11's fake G...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Aug 15 10:45:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c94b6530bca80a8bd105921d6653a8c78f55d3d1
      https://github.com/llvm/llvm-project/commit/c94b6530bca80a8bd105921d6653a8c78f55d3d1
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

  Changed paths:
    M llvm/lib/ProfileData/GCOV.cpp
    R llvm/test/tools/llvm-cov/gcov/Inputs/gcov-fake-4.2.gcda
    R llvm/test/tools/llvm-cov/gcov/Inputs/gcov-fake-4.2.gcno
    R llvm/test/tools/llvm-cov/gcov/gcov-fake-4.2.c

  Log Message:
  -----------
  [llvm-cov gcov] Drop support for clang<11's fake GCC 4.2 format

clang<11 intended to use a GCC 4.2 compatible format but that turned out
to make some mistakes. After instrumentation side format changes,
c8b082a3abe44138fff4ef824300270dd6e8bc77 kept supporting the legacy
format, originally intended for 1 or 2 major releases.

Remove an obsoleted comment as GCC 12 uses length==12 for
GCOV_TAG_FUNCTION in .gcda files.




More information about the All-commits mailing list