[all-commits] [llvm/llvm-project] 56926a: [SampleFDO] Rename llvm-profdata flag -partial-pro...

wmi-11 via All-commits all-commits at lists.llvm.org
Tue May 12 15:06:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 56926ae0faa67ac4c3b75609bfeea2eb324c0851
      https://github.com/llvm/llvm-project/commit/56926ae0faa67ac4c3b75609bfeea2eb324c0851
  Author: Wei Mi <wmi at google.com>
  Date:   2020-05-12 (Tue, 12 May 2020)

  Changed paths:
    M llvm/test/tools/llvm-profdata/show-prof-info.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [SampleFDO] Rename llvm-profdata flag -partial-profile to -gen-partial-profile.

The internal flag -partial-profile in llvm conflicts with the flag with
the same name in llvm-profdata. The conflict happens in builds with
LLVM_LINK_LLVM_DYLIB enabled. In this case the tools are linked with libLLVM
and we end up with two definitions for the same cl::opt.

The patch renames llvm-profdata flag -partial-profile to -gen-partial-profile.




More information about the All-commits mailing list