3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-win32 %s -o %t
4 # RUN: lld-link /subsystem:console /entry:A %t /out:%t2 /debug:symtab
5 # RUN: llvm-nm --numeric-sort %t2 | FileCheck %s
6 # RUN: lld-link /call-graph-profile-sort:no /subsystem:console /entry:A %t /out:%t3 /debug:symtab
7 # RUN: llvm-nm --numeric-sort %t3 | FileCheck %s --check-prefix=NO-CG
9 .section .text,"ax", one_only, D
13 .section .text,"ax", one_only, C
18 .section .text,"ax", one_only, B
23 .section .text,"ax", one_only, A
36 # CHECK: 140001000 T A
37 # CHECK: 140001001 T B
38 # CHECK: 140001002 T C
39 # CHECK: 140001003 t D
42 # NO-CG: 140001000 t D
43 # NO-CG: 140001001 T C
44 # NO-CG: 140001002 T B
45 # NO-CG: 140001003 T A