Skip to content

Commit 011e060

Browse files
committed
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
1 parent 36c0187 commit 011e060

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,13 @@ X86 Support in Clang
498498
DWARF Support in Clang
499499
----------------------
500500

501+
- clang now adds DWARF information for inline strings in C/C++ programs,
502+
allowing ``line:column`` symbolization of strings. Some debugging programs may
503+
require updating, as this takes advantage of DWARF ``DW_TAG_variable``
504+
structures *without* a ``DW_AT_name`` field, which is valid DWARF, but may be
505+
handled incorrectly by some software (e.g. new failures with incorrect
506+
assertions).
507+
501508
Arm and AArch64 Support in Clang
502509
--------------------------------
503510

0 commit comments

Comments
 (0)