reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    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
   28
   29
   30
   31
   32
; RUN: llvm-pdbutil dump -globals \
; RUN:    -global-name=main \
; RUN:    -global-name="operator delete" \
; RUN:    -global-name=abcdefg \
; RUN:    %p/Inputs/global-name-lookup.pdb | FileCheck %s

; RUN: llvm-pdbutil dump -globals \
; RUN:    -global-name=OvlGlobalFn \
; RUN:    %p/Inputs/global-name-lookup.pdb | FileCheck --check-prefix=LASTBUCKET %s

CHECK:                        Global Symbols
CHECK-NEXT: ============================================================
CHECK-NEXT:     Global Name `main`
CHECK-NEXT:        344 | S_PROCREF [size = 20] `main`
CHECK-NEXT:              module = 1, sum name = 0, offset = 780
CHECK-NEXT:     Global Name `operator delete`
CHECK-NEXT:        228 | S_PROCREF [size = 32] `operator delete`
CHECK-NEXT:              module = 1, sum name = 0, offset = 200
CHECK-NEXT:        196 | S_PROCREF [size = 32] `operator delete`
CHECK-NEXT:              module = 1, sum name = 0, offset = 52
CHECK-NEXT:     Global Name `abcdefg`
CHECK-NEXT:        (no matching records found)

LASTBUCKET:                        Global Symbols
LASTBUCKET-NEXT: ============================================================
LASTBUCKET-NEXT:     Global Name `OvlGlobalFn`
LASTBUCKET-NEXT:        316 | S_PROCREF [size = 28] `OvlGlobalFn`
LASTBUCKET-NEXT:              module = 1, sum name = 0, offset = 608
LASTBUCKET-NEXT:        288 | S_PROCREF [size = 28] `OvlGlobalFn`
LASTBUCKET-NEXT:              module = 1, sum name = 0, offset = 464
LASTBUCKET-NEXT:        260 | S_PROCREF [size = 28] `OvlGlobalFn`
LASTBUCKET-NEXT:              module = 1, sum name = 0, offset = 348