summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp
diff options
context:
space:
mode:
authorVictor Leschuk <vleschuk@accesssoftek.com>2016-10-20 00:13:19 +0000
committerVictor Leschuk <vleschuk@accesssoftek.com>2016-10-20 00:13:19 +0000
commita7ece03b322c5cef25b90c82e51e8860d8be2a2f (patch)
treed5d90e9e6fa223a7218f42f8afa829dd5054d4e3 /clang/test/CodeGenCXX/debug-info-calling-conventions.cpp
parent2ede126b1b3fae52cddece5cf1f75b474a9c7932 (diff)
downloadbcm5719-llvm-a7ece03b322c5cef25b90c82e51e8860d8be2a2f.tar.gz
bcm5719-llvm-a7ece03b322c5cef25b90c82e51e8860d8be2a2f.zip
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-info-calling-conventions.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-calling-conventions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp b/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp
index 51d801e35ef..db7fbd23405 100644
--- a/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp
+++ b/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp
@@ -8,7 +8,7 @@ void A::thiscallcc() {}
// CHECK: !DISubprogram(name: "thiscallcc", {{.*}} type: ![[thiscallty:[^,]*]], {{.*}})
// CHECK: ![[thiscallty]] = !DISubroutineType(cc: DW_CC_BORLAND_thiscall, types: ![[thisargs:[^,)]*]])
// CHECK: ![[thisargs]] = !{null, ![[thisptrty:[^,}]*]]}
-// CHECK: ![[thisptrty]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !{{.*}}, size: 32, align: 32, flags: DIFlagArtificial | DIFlagObjectPointer)
+// CHECK: ![[thisptrty]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !{{.*}}, size: 32, flags: DIFlagArtificial | DIFlagObjectPointer)
void cdeclcc() {}
void __fastcall fastcallcc() {}
OpenPOWER on IntegriCloud