Skip to content

ReleaseNotes for LLVM binary utilities #83751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions llvm/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
@@ -339,36 +339,41 @@ Changes to the Debug Info
Changes to the LLVM tools
---------------------------------

* llvm-symbolizer now treats invalid input as an address for which source
* ``llvm-symbolizer`` now treats invalid input as an address for which source
information is not found.
* Fixed big-endian support in llvm-symbolizer's DWARF location parser.
* llvm-readelf now supports ``--extra-sym-info`` (``-X``) to display extra
* Fixed big-endian support in ``llvm-symbolizer``'s DWARF location parser.
* ``llvm-readelf`` now supports ``--extra-sym-info`` (``-X``) to display extra
information (section name) when showing symbols.
* ``llvm-readobj``/``llvm-readelf`` now supports ``--decompress``/``-z`` with
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a number of references to tool names in other notes within this file without the backticks. They should probably be normalised at some point.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

string and hex dump for ELF object files.

* ``llvm-nm`` now supports the ``--line-numbers`` (``-l``) option to use
debugging information to print symbols' filenames and line numbers.

* llvm-symbolizer and llvm-addr2line now support addresses specified as symbol names.
* ``llvm-symbolizer`` and ``llvm-addr2line`` now support addresses specified as symbol names.

* llvm-objcopy now supports ``--gap-fill`` and ``--pad-to`` options, for
* ``llvm-objcopy`` now supports ``--gap-fill`` and ``--pad-to`` options, for
ELF input and binary output files only.
* ``llvm-objcopy`` now supports ``-O elf64-s390`` for SystemZ.

* Supported parsing XCOFF auxiliary symbols in obj2yaml.
* Supported parsing XCOFF auxiliary symbols in ``obj2yaml``.

* ``llvm-ranlib`` now supports ``-X`` on AIX to specify the type of object file
ranlib should examine.

* ``llvm-cxxfilt`` now supports ``--no-params``/``-p`` to skip function
parameters.

* ``llvm-nm`` now supports ``--export-symbol`` to ignore the import symbol file.
* ``llvm-nm`` now supports the ``--line-numbers`` (``-l``) option to use
debugging information to print symbols' filenames and line numbers.

* llvm-rc and llvm-windres now accept file path references in ``.rc`` files
* ``llvm-rc`` and ``llvm-windres`` now accept file path references in ``.rc`` files
concatenated from multiple string literals.

* The llvm-windres option ``--preprocessor`` now resolves its argument
in the PATH environment variable as expected, and options passed with
* The ``llvm-windres`` option ``--preprocessor`` now resolves its argument
in the ``PATH`` environment variable as expected, and options passed with
``--preprocessor-arg`` are placed before the input file as they should
be.

* The llvm-windres option ``--preprocessor`` has been updated with the
* The ``llvm-windres`` option ``--preprocessor`` has been updated with the
breaking behaviour change from GNU windres from binutils 2.36, where
the whole argument is considered as one path, not considered as a
sequence of tool name and parameters.