[Lldb-commits] [lldb] [lldb-dap] Report the language of compile units (PR #235995)
Nathan Fusselman via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 29 09:58:31 PDT 2026
================
@@ -1172,6 +1172,8 @@ json::Value toJSON(const ExceptionDetails &ED) {
llvm::json::Value toJSON(const CompileUnit &CU) {
json::Object result{{"id", CU.id}, {"compileUnitPath", CU.compileUnitPath}};
+ if (CU.language)
----------------
nathanfusselman wrote:
Correct, I would consider `""` to be a bug below us and do not think we should hide that. It is up to the client to pick what to do (though I would assume you are right on what they will do)
https://github.com/llvm/llvm-project/pull/235995
More information about the lldb-commits
mailing list