diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:53:01 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:53:01 +0000 |
commit | ead246455adf1a215ec2715dad6533073a6beb4e (patch) | |
tree | f3f97a47d77053bf96fe74cdbd6fae74380e8a92 /include/lldb/Symbol/CompileUnit.h | |
parent | fdb00c4408990a0a63ef7f496d809ce59f263bc5 (diff) |
Notes
Diffstat (limited to 'include/lldb/Symbol/CompileUnit.h')
-rw-r--r-- | include/lldb/Symbol/CompileUnit.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/lldb/Symbol/CompileUnit.h b/include/lldb/Symbol/CompileUnit.h index c3ba2e2176e7a..d132c367b9990 100644 --- a/include/lldb/Symbol/CompileUnit.h +++ b/include/lldb/Symbol/CompileUnit.h @@ -225,6 +225,14 @@ public: DebugMacros *GetDebugMacros(); + /// Apply a lambda to each external lldb::Module referenced by this + /// compilation unit. Recursively also descends into the referenced external + /// modules of any encountered compilation unit. + /// + /// \param[in] lambda + /// The lambda that should be applied to every module. + void ForEachExternalModule(llvm::function_ref<void(lldb::ModuleSP)> f); + /// Get the compile unit's support file list. /// /// The support file list is used by the line table, and any objects that @@ -298,6 +306,8 @@ public: /// A line table object pointer that this object now owns. void SetLineTable(LineTable *line_table); + void SetSupportFiles(const FileSpecList &support_files); + void SetDebugMacros(const DebugMacrosSP &debug_macros); /// Set accessor for the variable list. |