summaryrefslogtreecommitdiff
path: root/include/llvm/DIBuilder.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-09-12 23:36:19 +0000
committerEric Christopher <echristo@apple.com>2012-09-12 23:36:19 +0000
commite521278f00cf5f4ea0cc4aac126df30924d3e705 (patch)
tree99734d7739b9575c304c09844f0a18bd21cd571f /include/llvm/DIBuilder.h
parentafc945b614a2bf99014d5820c8849451030ea82b (diff)
downloadllvm-e521278f00cf5f4ea0cc4aac126df30924d3e705.tar.gz
llvm-e521278f00cf5f4ea0cc4aac126df30924d3e705.tar.bz2
llvm-e521278f00cf5f4ea0cc4aac126df30924d3e705.tar.xz
Recommit, with fixes:
Add some support for dealing with an object pointer on arguments. Part of rdar://9797999 which now supports adding the object pointer attribute to the subprogram as it should. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DIBuilder.h')
-rw-r--r--include/llvm/DIBuilder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/DIBuilder.h b/include/llvm/DIBuilder.h
index dd4ea96ae2..2610ce104f 100644
--- a/include/llvm/DIBuilder.h
+++ b/include/llvm/DIBuilder.h
@@ -347,6 +347,10 @@ namespace llvm {
/// createArtificialType - Create a new DIType with "artificial" flag set.
DIType createArtificialType(DIType Ty);
+ /// createObjectPointerType - Create a new DIType with the "object pointer"
+ /// flag set.
+ DIType createObjectPointerType(DIType Ty);
+
/// createTemporaryType - Create a temporary forward-declared type.
DIType createTemporaryType();
DIType createTemporaryType(DIFile F);