diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-29 08:42:56 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-29 08:42:56 +0000 |
commit | b8ca98874316bfe8e46b27e7a034a8a764c92e08 (patch) | |
tree | c3d8f435ad918dbc5520905a5bd66f2f85d4e297 /include/llvm/Analysis/DIBuilder.h | |
parent | 24b878031d4f62baf0e9a0573aeebc9dfd54b546 (diff) | |
download | external_llvm-b8ca98874316bfe8e46b27e7a034a8a764c92e08.zip external_llvm-b8ca98874316bfe8e46b27e7a034a8a764c92e08.tar.gz external_llvm-b8ca98874316bfe8e46b27e7a034a8a764c92e08.tar.bz2 |
Add support for objc property decls according to the page at:
http://llvm.org/docs/SourceLevelDebugging.html#objcproperty
including type and DECL. Expand the metadata needed accordingly.
rdar://11144023
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DIBuilder.h')
-rw-r--r-- | include/llvm/Analysis/DIBuilder.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 5190f0a..9fbbe09 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/include/llvm/Analysis/DIBuilder.h @@ -211,13 +211,19 @@ namespace llvm { /// createObjCProperty - Create debugging information entry for Objective-C /// property. /// @param Name Property name. + /// @param File File where this property is defined. + /// @param LineNumber Line number. /// @param GetterName Name of the Objective C property getter selector. /// @param SetterName Name of the Objective C property setter selector. /// @param PropertyAttributes Objective C property attributes. - DIObjCProperty createObjCProperty(StringRef Name, StringRef GetterName, - StringRef SetterName, - unsigned PropertyAttributes); - + /// @param Ty Type. + DIObjCProperty createObjCProperty(StringRef Name, + DIFile File, unsigned LineNumber, + StringRef GetterName, + StringRef SetterName, + unsigned PropertyAttributes, + DIType Ty); + /// createClassType - Create debugging information entry for a class. /// @param Scope Scope in which this class is defined. /// @param Name class name. |