aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs
diff options
context:
space:
mode:
authorRahman Lavaee <rahmanl@google.com>2024-09-25 12:03:38 -0700
committerGitHub <noreply@github.com>2024-09-25 12:03:38 -0700
commit1911a50fae8a441b445eb835b98950710d28fc88 (patch)
treecfd1d869edbc8f8886b23fe942b8d0b24fdbd9fb /llvm/docs
parent6786928c4fe1f9daf720d3b604987de2b013e70b (diff)
downloadllvm-1911a50fae8a441b445eb835b98950710d28fc88.zip
llvm-1911a50fae8a441b445eb835b98950710d28fc88.tar.gz
llvm-1911a50fae8a441b445eb835b98950710d28fc88.tar.bz2
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.
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CommandGuide/llvm-objdump.rst2
-rw-r--r--llvm/docs/Extensions.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst
index 7f8def7..ab9f583 100644
--- a/llvm/docs/CommandGuide/llvm-objdump.rst
+++ b/llvm/docs/CommandGuide/llvm-objdump.rst
@@ -272,7 +272,7 @@ OPTIONS
When printing a PC-relative global symbol reference, print it as an offset from the leading symbol.
When a bb-address-map section is present (i.e., the object file is built with
- ``-fbasic-block-sections=labels``), labels are retrieved from that section
+ ``-fbasic-block-address-map``), labels are retrieved from that section
instead. If a pgo-analysis-map is present alongside the bb-address-map, any
available analyses are printed after the relevant block label. By default,
any analysis with a special representation (i.e. BlockFrequency,
diff --git a/llvm/docs/Extensions.rst b/llvm/docs/Extensions.rst
index abc34bc3..ea26784 100644
--- a/llvm/docs/Extensions.rst
+++ b/llvm/docs/Extensions.rst
@@ -401,7 +401,7 @@ the symbol that belongs to the partition. It may be constructed as follows:
This section stores the binary address of basic blocks along with other related
metadata. This information can be used to map binary profiles (like perf
profiles) directly to machine basic blocks.
-This section is emitted with ``-basic-block-sections=labels`` and will contain
+This section is emitted with ``-basic-block-address-map`` and will contain
a BB address map table for every function.
The ``SHT_LLVM_BB_ADDR_MAP`` type provides backward compatibility to allow