diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2025-10-16 07:37:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-16 07:37:10 +0100 |
| commit | 0ede5637ff192398abd09b3d104d43e3be3dfa24 (patch) | |
| tree | 51b9e3cdbf5e0a2a489b9b12f42459a026c5960e /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
| parent | 4c4c028fe462554ef279729ddeb559191854e04f (diff) | |
| download | llvm-0ede5637ff192398abd09b3d104d43e3be3dfa24.zip llvm-0ede5637ff192398abd09b3d104d43e3be3dfa24.tar.gz llvm-0ede5637ff192398abd09b3d104d43e3be3dfa24.tar.bz2 | |
[clang][DebugInfo] Emit DW_AT_language_{name, version} for DWARFv6 (#163208)
Depends on:
* https://github.com/llvm/llvm-project/pull/163348
* https://github.com/llvm/llvm-project/pull/162632
With this patch Clang will start emitting `DW_AT_language_{name,
version}` for C++/C/Objective-C/Objective-C++ when using `-gdwarf-6`. We
adjust the `DISourceLanguageName` (which we pass to `DICompileUnit`) to
hold a `DW_AT_language_name_` and version code when in DWARFv6.
Otherwise we continue using the `DW_LANG_` version of
`DISourceLanguageName`.
We didn't back-port emitting
`DW_AT_language_name`/`DW_AT_language_version` to DWARFv5 (unlike GCC,
which emits both the new and old language attributes in DWARFv5) because
there wasn't a compelling reason to do so (yet).
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions
