diff options
author | Victor Leschuk <vleschuk@accesssoftek.com> | 2016-10-20 00:13:19 +0000 |
---|---|---|
committer | Victor Leschuk <vleschuk@accesssoftek.com> | 2016-10-20 00:13:19 +0000 |
commit | a7ece03b322c5cef25b90c82e51e8860d8be2a2f (patch) | |
tree | d5d90e9e6fa223a7218f42f8afa829dd5054d4e3 /clang/test/CodeGenCXX/debug-lambda-this.cpp | |
parent | 2ede126b1b3fae52cddece5cf1f75b474a9c7932 (diff) | |
download | llvm-a7ece03b322c5cef25b90c82e51e8860d8be2a2f.zip llvm-a7ece03b322c5cef25b90c82e51e8860d8be2a2f.tar.gz llvm-a7ece03b322c5cef25b90c82e51e8860d8be2a2f.tar.bz2 |
DebugInfo: pass alignment value only if it was forced
Preparation to implement DW_AT_alignment support:
- We pass non-zero align value to DIBuilder only when alignment was forced
- Modify tests to match this change
Differential Revision: https://reviews.llvm.org/D24426
llvm-svn: 284679
Diffstat (limited to 'clang/test/CodeGenCXX/debug-lambda-this.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-lambda-this.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-lambda-this.cpp b/clang/test/CodeGenCXX/debug-lambda-this.cpp index 4af3d81..eecbac6 100644 --- a/clang/test/CodeGenCXX/debug-lambda-this.cpp +++ b/clang/test/CodeGenCXX/debug-lambda-this.cpp @@ -13,10 +13,10 @@ int D::d(int x) { } // CHECK: ![[D:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "D", -// CHECK: ![[POINTER:.*]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[D]], size: 64, align: 64) +// CHECK: ![[POINTER:.*]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[D]], size: 64) // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "this", // CHECK-SAME: line: 11 // CHECK-SAME: baseType: ![[POINTER]] -// CHECK-SAME: size: 64, align: 64 +// CHECK-SAME: size: 64 // CHECK-NOT: offset: 0 // CHECK-SAME: ){{$}} |