summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/include
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-07-22 23:16:28 +0000
committeremaste <emaste@FreeBSD.org>2014-07-22 23:16:28 +0000
commitdc97077d62c55c6f91988f073e9e645c3eb7a5ee (patch)
tree7d419fa8215f29523019edac2056e94672e6ada5 /contrib/llvm/include
parentce450da4301f9fcfa34afaa8d4e1b69a4877a2f7 (diff)
downloadFreeBSD-src-dc97077d62c55c6f91988f073e9e645c3eb7a5ee.zip
FreeBSD-src-dc97077d62c55c6f91988f073e9e645c3eb7a5ee.tar.gz
MFC debug info for variadic functions
r264826: Merge LLVM r202188: 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. This merge includes a change to use the LLVM 3.4 API in lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp: DwarfUnit -> CompileUnit r264827: Merge Clang r202185: Debug info: Generate debug info for variadic functions. Paired commit with LLVM. rdar://problem/13690847 This merege includes changes to use the Clang 3.4 API (revisions 199686 and 200082) in lib/CodeGen/CGDebugInfo.cpp: getParamType -> getArgType getNumParams -> getNumArgs getReturnType -> getResultType r264828: Add patches corresponding to r264826 and r264827 Sponsored by: DARPA, AFRL
Diffstat (limited to 'contrib/llvm/include')
-rw-r--r--contrib/llvm/include/llvm/DIBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/include/llvm/DIBuilder.h b/contrib/llvm/include/llvm/DIBuilder.h
index bac1679..c371d3d 100644
--- a/contrib/llvm/include/llvm/DIBuilder.h
+++ b/contrib/llvm/include/llvm/DIBuilder.h
@@ -439,7 +439,7 @@ namespace llvm {
/// through debug info anchors.
void retainType(DIType T);
- /// createUnspecifiedParameter - Create unspeicified type descriptor
+ /// createUnspecifiedParameter - Create unspecified type descriptor
/// for a subroutine type.
DIDescriptor createUnspecifiedParameter();
OpenPOWER on IntegriCloud