[llvm-branch-commits] [lld] ReleaseNotes: add lld/ELF notes (PR #80393)

Peter Smith via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 2 02:29:15 PST 2024


================
@@ -29,8 +29,42 @@ ELF Improvements
 * ``--fat-lto-objects`` option is added to support LLVM FatLTO.
   Without ``--fat-lto-objects``, LLD will link LLVM FatLTO objects using the
   relocatable object file. (`D146778 <https://reviews.llvm.org/D146778>`_)
+* ``-Bsymbolic-non-weak`` is added to directly bind non-weak definitions.
+  (`D158322 <https://reviews.llvm.org/D158322>`_)
+* ``--lto-validate-all-vtables-have-type-infos``, which complements
+  ``--lto-whole-program-visibility``, is added to disable unsafe whole-program
+  devirtualization. ``--lto-known-safe-vtables=<glob>`` can be used
+  to mark known-safe vtable symbols.
+  (`D155659 <https://reviews.llvm.org/D155659>`_)
----------------
smithp35 wrote:

Could be worth adding
* ``--save-temps --lto-emit-asm`` now derives ELF/asm file names from bitcode file names. ld.lld --save-temps a.o d/b.o -o out` will create ELF relocatable files `out.lto.a.o`/`d/out.lto.b.o` instead of `out1.lto.o`/`out2.lto.o`. (`#78835 <https://github.com/llvm/llvm-project/pull/78835>`_)


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


More information about the llvm-branch-commits mailing list