summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DebugInfo: pass alignment value only if it was forcedVictor Leschuk2016-10-201-1/+1
| | | | | | | | | | 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
* [DebugInfo] Add calling conventions to DISubroutineTypeReid Kleckner2016-06-081-0/+26
Summary: This should have been a very simple change, but it was greatly complicated by the construction of new Decls during IR generation. In particular, we reconstruct the AST function type in order to get the implicit 'this' parameter into C++ method types. We also have to worry about FunctionDecls whose types are not FunctionTypes because CGBlocks.cpp constructs some dummy FunctionDecls with 'void' type. Depends on D21114 Reviewers: aprantl, dblaikie Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D21141 llvm-svn: 272198
OpenPOWER on IntegriCloud