diff options
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-03-08 23:55:44 +0000 |
---|---|---|
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-03-08 23:55:44 +0000 |
commit | 2cee5cc825969057f8d23b507a4861e606216aed (patch) | |
tree | e8e55026b97e4781e1c15f1fe2055b7379b9a7f0 /bindings | |
parent | 94a8180da701c4dc6ca925a21255b86a327ac0b6 (diff) |
[DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types
Differential Revision: https://reviews.llvm.org/D29670
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/go/llvm/DIBuilderBindings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/go/llvm/DIBuilderBindings.cpp b/bindings/go/llvm/DIBuilderBindings.cpp index 42aa819c7961..53e223d67b4e 100644 --- a/bindings/go/llvm/DIBuilderBindings.cpp +++ b/bindings/go/llvm/DIBuilderBindings.cpp @@ -119,7 +119,8 @@ LLVMMetadataRef LLVMDIBuilderCreatePointerType(LLVMDIBuilderRef Dref, const char *Name) { DIBuilder *D = unwrap(Dref); return wrap(D->createPointerType(unwrap<DIType>(PointeeType), SizeInBits, - AlignInBits, Name)); + AlignInBits, /* DWARFAddressSpace */ None, + Name)); } LLVMMetadataRef |