[all-commits] [llvm/llvm-project] 04f8ff: [llvm-exegesis] Fix compilation with old libpfm ve...

Clement Courbet via All-commits all-commits at lists.llvm.org
Sun Jul 11 22:54:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04f8ffd98306a0b0b60987208547ee6745b0fc3e
      https://github.com/llvm/llvm-project/commit/04f8ffd98306a0b0b60987208547ee6745b0fc3e
  Author: Clement Courbet <courbet at google.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp

  Log Message:
  -----------
  [llvm-exegesis] Fix compilation with old libpfm versions.

Do not try include `perfmon/perf_event.h` when we are not sure that it
exists.

Fixes PR51017.

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




More information about the All-commits mailing list