[clang] 011e060 - Add DWARF string debug to clang release notes.
Mitch Phillips via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 16 14:54:21 PDT 2022
Author: Mitch Phillips
Date: 2022-06-16T14:54:12-07:00
New Revision: 011e0604ebc9d85db3585ebb2f63df465f726417
URL: https://github.com/llvm/llvm-project/commit/011e0604ebc9d85db3585ebb2f63df465f726417
DIFF: https://github.com/llvm/llvm-project/commit/011e0604ebc9d85db3585ebb2f63df465f726417.diff
LOG: Add DWARF string debug to clang release notes.
D12353 added inline strings to the DWARF info produced by clang. This
turns out to break some debugging software that assumes that a
DW_TAG_variable *must* come with a DW_AT_name. Add a release note to
broadcast this change.
Reviewed By: paulkirth
Differential Revision: https://reviews.llvm.org/D126224
Added:
Modified:
clang/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 2f17fbf406285..ecf574b3b0f8d 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -498,6 +498,13 @@ X86 Support in Clang
DWARF Support in Clang
----------------------
+- clang now adds DWARF information for inline strings in C/C++ programs,
+ allowing ``line:column`` symbolization of strings. Some debugging programs may
+ require updating, as this takes advantage of DWARF ``DW_TAG_variable``
+ structures *without* a ``DW_AT_name`` field, which is valid DWARF, but may be
+ handled incorrectly by some software (e.g. new failures with incorrect
+ assertions).
+
Arm and AArch64 Support in Clang
--------------------------------
More information about the cfe-commits
mailing list