[llvm] 8b0033e - [ReleaseNotes] DebugInfo: preferred_name attribute changes

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 17:38:20 PDT 2023


Author: Michael Buch
Date: 2023-04-07T01:37:37+01:00
New Revision: 8b0033e58a49ba3be602be3892d5508b217232be

URL: https://github.com/llvm/llvm-project/commit/8b0033e58a49ba3be602be3892d5508b217232be
DIFF: https://github.com/llvm/llvm-project/commit/8b0033e58a49ba3be602be3892d5508b217232be.diff

LOG: [ReleaseNotes] DebugInfo: preferred_name attribute changes

Describes changes made in D145803.

Differential Revision: https://reviews.llvm.org/D147695

Added: 
    

Modified: 
    llvm/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 551efe0422c6c..9dd2d4300a2f0 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -222,6 +222,11 @@ Changes to the Debug Info
   auto-upgraded to ``@llvm.dbg.value`` with ``DW_OP_deref`` appended to the
   ``DIExpression`` (`D144793 <https://reviews.llvm.org/D144793>`_).
 
+* When a template class annotated with the ``[[clang::preferred_name]]`` attribute
+  were to appear in a ``DW_AT_type``, the type will now be that of the preferred_name
+  instead. This change is only enabled when compiling with `-glldb`.
+  (`D145803 <https://reviews.llvm.org/D145803>`_)
+
 Changes to the LLVM tools
 ---------------------------------
 * llvm-lib now supports the /def option for generating a Windows import library from a definition file.


        


More information about the llvm-commits mailing list