[all-commits] [llvm/llvm-project] 1911a5: Deprecate the `-fbasic-block-sections=labels` opti...

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Wed Sep 25 12:04:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1911a50fae8a441b445eb835b98950710d28fc88
      https://github.com/llvm/llvm-project/commit/1911a50fae8a441b445eb835b98950710d28fc88
  Author: Rahman Lavaee <rahmanl at google.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/fbasic-block-sections.c
    M llvm/docs/CommandGuide/llvm-objdump.rst
    M llvm/docs/Extensions.rst
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/BasicBlockSections.cpp
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
    M llvm/lib/CodeGen/MachineFunction.cpp
    A llvm/test/CodeGen/X86/basic-block-address-map-empty-block.ll
    A llvm/test/CodeGen/X86/basic-block-address-map-empty-function.ll
    M llvm/test/CodeGen/X86/basic-block-address-map-function-sections.ll
    A llvm/test/CodeGen/X86/basic-block-address-map-mir-parse.mir
    A llvm/test/CodeGen/X86/basic-block-address-map-pgo-features.ll
    M llvm/test/CodeGen/X86/basic-block-address-map.ll
    R llvm/test/CodeGen/X86/basic-block-labels-mir-parse.mir
    R llvm/test/CodeGen/X86/basic-block-sections-labels-empty-block.ll
    R llvm/test/CodeGen/X86/basic-block-sections-labels-empty-function.ll
    R llvm/test/CodeGen/X86/basic-block-sections-labels-pgo-features.ll
    M llvm/test/CodeGen/X86/basic-block-sections-mir-print.ll

  Log Message:
  -----------
  Deprecate the `-fbasic-block-sections=labels` option. (#107494)

This feature is supported via the newer option
`-fbasic-block-address-map`. Using the old option still works by
delegating to the newer option, while a warning is printed to show
deprecation.



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