[Lldb-commits] [lldb] Expose DWARFDIE::GetDeclContext() in lldb_private::Function. (PR #69981)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 23 16:14:16 PDT 2023
================
@@ -533,6 +533,12 @@ class Function : public UserID, public SymbolContextScope {
/// The DeclContext, or NULL if none exists.
CompilerDeclContext GetDeclContext();
+ /// Get the CompilerContext for this function, if available.
+ ///
+ /// \return
+ /// The CompilerContext, or NULL if none exists.
+ std::vector<CompilerContext> GetCompilerContext();
----------------
JDevlieghere wrote:
This comment is wrong/out of date.
https://github.com/llvm/llvm-project/pull/69981
More information about the lldb-commits
mailing list