[all-commits] [llvm/llvm-project] 1e4895: [AIX] Enable PGO without LTO

jsji via All-commits all-commits at lists.llvm.org
Tue Sep 28 19:00:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e48951c736cb346df34605fc42a39ef6c349b29
      https://github.com/llvm/llvm-project/commit/1e48951c736cb346df34605fc42a39ef6c349b29
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/unsupported-option.c

  Log Message:
  -----------
  [AIX] Enable PGO without LTO

On AIX, we relied on LTO to merge the csects for profiling data/counter
sections.

AIX binder now get the namedcsect support to support the merging,
so now we can enable PGO without LTO with the new binder.

Reviewed By: Whitney

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




More information about the All-commits mailing list