diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-02-25 19:57:42 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-02-25 19:57:42 +0000 |
commit | 3f49c890bfa483333ba089acf6b41362ce2aa9fb (patch) | |
tree | ec60e8e6bc6e49bab1ed8e6d6f5ab47ab7d35277 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | fd1f82a711148ba3e492e9e41e02fa5ec819ecd5 (diff) | |
download | bcm5719-llvm-3f49c890bfa483333ba089acf6b41362ce2aa9fb.tar.gz bcm5719-llvm-3f49c890bfa483333ba089acf6b41362ce2aa9fb.zip |
Debug info: Support variadic functions.
Variadic functions have an unspecified parameter tag after the last
argument. In IR this is represented as an unspecified parameter in the
subroutine type.
Paired commit with CFE r202185.
rdar://problem/13690847
This re-applies r202184 + a bugfix in DwarfDebug's argument handling.
llvm-svn: 202188
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index 370ecbf831e..bf77272b8a2 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -476,6 +476,9 @@ protected: DIE *getOrCreateStaticMemberDIE(DIDerivedType DT); private: + /// constructSubprogramArguments - Construct function argument DIEs. + void constructSubprogramArguments(DIE &Buffer, DIArray Args); + /// constructTypeDIE - Construct basic type die from DIBasicType. void constructTypeDIE(DIE &Buffer, DIBasicType BTy); |