[all-commits] [llvm/llvm-project] a35480: [llvm-exegesis] Fix missing-headers build errors.

Vy Nguyen via All-commits all-commits at lists.llvm.org
Thu Jul 15 10:21:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a35480f85960feccc44ac9a7641070d2a6a78c2f
      https://github.com/llvm/llvm-project/commit/a35480f85960feccc44ac9a7641070d2a6a78c2f
  Author: Vy Nguyen <vyng at google.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

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

  Log Message:
  -----------
  [llvm-exegesis] Fix missing-headers build errors.

Details:

Switch all #includes to use <> because that is consistent with what happens in the cmake checks.
Otherwise, we could be in the situation where cmake checks see that headers exist at <perfmon/...>
but in  llvm-exegesis code, we use "perfmon/...", which may not exist.

Related PR/revisions: D84076, PR51017+D105615

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




More information about the All-commits mailing list