diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-10-08 18:33:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 17:33:25 +0000 |
commit | 030d8e66498d6818300b1a8678861a016bd37e10 (patch) | |
tree | d5cb798ca3b48dc838928cbcfb30a18b045d68c9 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6cba572d9efefa433a18540f71fefb1392ffea2a (diff) | |
download | llvm-030d8e66498d6818300b1a8678861a016bd37e10.zip llvm-030d8e66498d6818300b1a8678861a016bd37e10.tar.gz llvm-030d8e66498d6818300b1a8678861a016bd37e10.tar.bz2 |
[llvm][Dwarf] Add LanguageDescription API that accounts for version (#162048)
Currently `llvm::dwarf::LanguageDescription` returns a stringified
`DW_LNAME`. It would be useful to have an API that returns the language
name for a particular `DW_LNAME_`/version pair. LLDB's use case is that
it wants to emit diagnostics with human readable descriptions of the
language we got from debug-info (see
https://github.com/llvm/llvm-project/pull/161688). We could maintain a
side-table in LLDB but thought this might be generally useful and should
live next to the existing `LanguageDescription` API.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions