]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC debug info for variadic functions
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Jul 2014 23:16:28 +0000 (23:16 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Jul 2014 23:16:28 +0000 (23:16 +0000)
commit82749a4bd245470421028450ae400341e9f8e86e
tree7d419fa8215f29523019edac2056e94672e6ada5
parentdcd931165ff36635e977222d3478b12f1d4bbe42
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@269000 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/include/llvm/DIBuilder.h
contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
contrib/llvm/patches/patch-r264826-llvm-r202188-variadic-fn-debug-info.diff [new file with mode: 0644]
contrib/llvm/patches/patch-r264827-clang-r202185-variadic-fn-debug-info.diff [new file with mode: 0644]
contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp