[Lldb-commits] [lldb] Expose DWARFDIE::GetDeclContext() in lldb_private::Function. (PR #69981)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 23 16:14:46 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();
----------------
bulbazord wrote:
The docs and the declaration conflict.
https://github.com/llvm/llvm-project/pull/69981
More information about the lldb-commits
mailing list