================ @@ -64,14 +64,16 @@ static lto::Config createConfig() { c.Options.BBAddrMap = config->ltoBBAddrMap; // Check if basic block sections must be used. - // Allowed values for --lto-basic-block-sections are "all", "labels", + // Allowed values for --lto-basic-block-sections are "all", // "<file name specifying basic block ids>", or none. This is the equivalent // of -fbasic-block-sections= flag in clang. if (!config->ltoBasicBlockSections.empty()) { if (config->ltoBasicBlockSections == "all") { c.Options.BBSections = BasicBlockSection::All; } else if (config->ltoBasicBlockSections == "labels") { - c.Options.BBSections = BasicBlockSection::Labels; + c.Options.BBAddrMap = true; ---------------- MaskRay wrote:
suggest that you create a separate change for lld/ELF. If this is deprecated, we need a test for the warning message. Please check other warnings for the style. We don't add the full stop. https://github.com/llvm/llvm-project/pull/107494 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits