[lld] [lld][MachO] rename to bp-* options for SectionOrderer (PR #118594)

via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 8 19:10:17 PST 2024


================
@@ -353,14 +353,16 @@ void macho::PriorityBuilder::parseOrderFile(StringRef path) {
 DenseMap<const InputSection *, size_t>
 macho::PriorityBuilder::buildInputSectionPriorities() {
   DenseMap<const InputSection *, size_t> sectionPriorities;
-  if (!config->irpgoProfileSortProfilePath.empty() ||
-      config->functionOrderForCompression || config->dataOrderForCompression) {
+  if (!config->irpgoProfilePath.empty() ||
----------------
Colibrow wrote:

is it `if (config->bpStartupFunctionSort`

https://github.com/llvm/llvm-project/pull/118594


More information about the llvm-commits mailing list