Home | History | Annotate | Download | only in llvm-pdbdump
      1 ; RUN: llvm-pdbutil pretty -all -class-recurse-depth=1 \
      2 ; RUN:   %p/Inputs/PrettyFuncDumperTest.pdb > %t
      3 ; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBALS_FUNC
      4 ; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBALS_DATA
      5 ; RUN: FileCheck -input-file=%t %s -check-prefix=TYPEDEF
      6 
      7 ; GLOBALS_FUNC: ---GLOBALS---
      8 ; GLOBALS_FUNC-DAG: void __cdecl NS::Func(char a, int b, ...)
      9 ; GLOBALS_FUNC-DAG: void __cdecl TemplateFunc<1,int>(int <Arg_0>)
     10 ; GLOBALS_FUNC-DAG: void __cdecl TemplateFunc<1,int,int,int>(int <Arg_0>, int <Arg_1>, int <Arg_2>)
     11 ; GLOBALS_FUNC-DAG: void __cdecl `anonymous namespace'::Func(int& a, const double b, volatile bool c)
     12 ; GLOBALS_FUNC-DAG: void __cdecl Func(int* array)
     13 ; GLOBALS_FUNC-DAG: int MemberFuncsTest::A::FuncA()
     14 ; GLOBALS_FUNC-DAG: void __cdecl MemberFuncsTest::A::FuncB(int a, ...)
     15 
     16 ; GLOBALS_DATA: ---GLOBALS---
     17 ; GLOBALS_DATA-DAG: void (__cdecl * FuncVarA)()
     18 ; GLOBALS_DATA-DAG: float (__cdecl * FuncVarB)()
     19 ; GLOBALS_DATA-DAG: int (__cdecl * VariadicFuncVar)(char, double, ...)
     20 
     21 ; TYPEDEF: ---TYPES---
     22 ; TYPEDEF: Typedefs:
     23 ; TYPEDEF-DAG: typedef void (__cdecl *)() FuncPtrA
     24 ; TYPEDEF-DAG: typedef int (__cdecl *)(char, double, ...) VariadicFuncPtrTypedef
     25 ; TYPEDEF-DAG: typedef float (__cdecl *)() FuncPtrB
     26