diff options
Diffstat (limited to 'include/llvm/DIBuilder.h')
| -rw-r--r-- | include/llvm/DIBuilder.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/llvm/DIBuilder.h b/include/llvm/DIBuilder.h index 2c0f712..4ce884b 100644 --- a/include/llvm/DIBuilder.h +++ b/include/llvm/DIBuilder.h @@ -37,7 +37,7 @@ namespace llvm { class DIType; class DIArray; class DIGlobalVariable; - class DIImportedModule; + class DIImportedEntity; class DINameSpace; class DIVariable; class DISubrange; @@ -577,9 +577,18 @@ namespace llvm { /// @param Context The scope this module is imported into /// @param NS The namespace being imported here /// @param Line Line number - DIImportedModule createImportedModule(DIScope Context, DINameSpace NS, + DIImportedEntity createImportedModule(DIScope Context, DINameSpace NS, unsigned Line); + /// \brief Create a descriptor for an imported function. + /// @param Context The scope this module is imported into + /// @param Decl The declaration (or definition) of a function, type, or + /// variable + /// @param Line Line number + DIImportedEntity createImportedDeclaration(DIScope Context, + DIDescriptor Decl, + unsigned Line); + /// insertDeclare - Insert a new llvm.dbg.declare intrinsic call. /// @param Storage llvm::Value of the variable /// @param VarInfo Variable's debug info descriptor. |
