File: pretty-func-dumper.test

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 995,808 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (27 lines) | stat: -rw-r--r-- 1,269 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; REQUIRES: diasdk

; RUN: llvm-pdbutil pretty -all -class-recurse-depth=1 \
; RUN:   %p/Inputs/PrettyFuncDumperTest.pdb > %t
; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBALS_FUNC
; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBALS_DATA
; RUN: FileCheck -input-file=%t %s -check-prefix=TYPEDEF

; GLOBALS_FUNC: ---GLOBALS---
; GLOBALS_FUNC-DAG: void __cdecl NS::Func(char a, int b, ...)
; GLOBALS_FUNC-DAG: void __cdecl TemplateFunc<1,int>(int <Arg_0>)
; GLOBALS_FUNC-DAG: void __cdecl TemplateFunc<1,int,int,int>(int <Arg_0>, int <Arg_1>, int <Arg_2>)
; GLOBALS_FUNC-DAG: void __cdecl `anonymous namespace'::Func(int& a, const double b, volatile bool c)
; GLOBALS_FUNC-DAG: void __cdecl Func(int* array)
; GLOBALS_FUNC-DAG: int MemberFuncsTest::A::FuncA()
; GLOBALS_FUNC-DAG: void __cdecl MemberFuncsTest::A::FuncB(int a, ...)

; GLOBALS_DATA: ---GLOBALS---
; GLOBALS_DATA-DAG: void (__cdecl * FuncVarA)()
; GLOBALS_DATA-DAG: float (__cdecl * FuncVarB)()
; GLOBALS_DATA-DAG: int (__cdecl * VariadicFuncVar)(char, double, ...)

; TYPEDEF: ---TYPES---
; TYPEDEF: Typedefs:
; TYPEDEF-DAG: typedef void (__cdecl *)() FuncPtrA
; TYPEDEF-DAG: typedef int (__cdecl *)(char, double, ...) VariadicFuncPtrTypedef
; TYPEDEF-DAG: typedef float (__cdecl *)() FuncPtrB