[PATCH] D21141: [DebugInfo] Add calling conventions to DISubroutineType

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 8 09:54:33 PDT 2016


rnk created this revision.
rnk added reviewers: aprantl, dblaikie.
rnk added a subscriber: cfe-commits.
rnk added a dependency: D21114: [DebugInfo] Add calling convention support for DWARF and CodeView.

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

http://reviews.llvm.org/D21141

Files:
  lib/CodeGen/CGDebugInfo.cpp
  lib/CodeGen/CodeGenFunction.cpp
  test/CodeGenCXX/debug-info-calling-conventions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21141.60055.patch
Type: text/x-patch
Size: 6921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160608/f18f634f/attachment.bin>


More information about the cfe-commits mailing list