[llvm] [llvm-debuginfo-analyzer] Add support for parsing DWARF / CodeView SourceLanguage (PR #137223)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 30 04:09:39 PDT 2025


================
@@ -540,6 +543,9 @@ class LVScopeCompileUnit final : public LVScope {
     ProducerIndex = getStringPool().getIndex(ProducerName);
   }
 
+  LVSourceLanguage getSourceLanguage() const override { return SourceLanguage; }
+  void setSourceLanguage(LVSourceLanguage SL) override { SourceLanguage = SL; }
+
----------------
CarlosAlbertoEnciso wrote:

Get/Set the language string from/into the `StringPool`.

https://github.com/llvm/llvm-project/pull/137223


More information about the llvm-commits mailing list