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 /test/Bitcode | |
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 'test/Bitcode')
-rw-r--r-- | test/Bitcode/upgrade-pointer-address-space.ll | 5 | ||||
-rw-r--r-- | test/Bitcode/upgrade-pointer-address-space.ll.bc | bin | 0 -> 1676 bytes |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/Bitcode/upgrade-pointer-address-space.ll b/test/Bitcode/upgrade-pointer-address-space.ll new file mode 100644 index 00000000000..8b85055651d --- /dev/null +++ b/test/Bitcode/upgrade-pointer-address-space.ll @@ -0,0 +1,5 @@ +; RUN: llvm-dis -o - %s.bc | FileCheck %s + +; CHECK-DAG: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !{{[0-9]+}}, size: {{[0-9]+}}) +; CHECK-DAG: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !{{[0-9]+}}, size: {{[0-9]+}}) +; CHECK-DAG: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !{{[0-9]+}}, size: {{[0-9]+}}) diff --git a/test/Bitcode/upgrade-pointer-address-space.ll.bc b/test/Bitcode/upgrade-pointer-address-space.ll.bc Binary files differnew file mode 100644 index 00000000000..0ad735e2430 --- /dev/null +++ b/test/Bitcode/upgrade-pointer-address-space.ll.bc |