================
@@ -68,6 +68,10 @@ class LLDB_API SBCompileUnit {
lldb::LanguageType GetLanguage();
+ /// Return the index of this compile unit in its module, or
+ /// LLDB_INVALID_INDEX32 if invalid.
+ uint32_t GetIndex() const;
----------------
bulbazord wrote:
Actually, maybe this should be called `GetIndexInModule`? I'm not sure if
there's any other interpretation of `Index` here but it would be more explicit.
https://github.com/llvm/llvm-project/pull/222470
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits