[all-commits] [llvm/llvm-project] f95bd6: [lld][InstrProf] Add "Separate" irpgo-profile-sort...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Thu Aug 1 11:20:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f95bd62cf99d12d5bfa5333d481fe9e7aa5a22ed
      https://github.com/llvm/llvm-project/commit/f95bd62cf99d12d5bfa5333d481fe9e7aa5a22ed
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M lld/MachO/BPSectionOrderer.cpp
    M lld/MachO/Options.td
    M lld/test/MachO/bp-section-orderer-errs.s

  Log Message:
  -----------
  [lld][InstrProf] Add "Separate" irpgo-profile-sort option (#101084)

Add the "Separate" option `--irpgo-profile-sort <profile` instead of
just the "Joined" option `--irpgo-profile-sort=<profile>`. This is
useful if the path has a `,` for some reason which would break when
trying to use `-Wl,--irpgo-profile-sort=<profile-with-comma>`.

While I'm here, use `static_cast<>` instead of the C style cast
introduced in https://github.com/llvm/llvm-project/pull/100627



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list