pdb-globals.yaml 38.3 KB
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003
# // YAML Generated from the following source code:
# // Compile with clang-cl /Z7 /GS- /c a.cpp && obj2yaml a.obj >pdb-globals.yaml
#
# void *__purecall = 0;
#
# struct HelloPoint {
#   int X = 3;
#   int Y = 4;
#   int Z = 5;
# };
#
# // S_LPROCREF
# static int LocalFunc() { return 42; }
#
# // S_PROCREF
# int GlobalFunc() { return 43; }
#
# // S_LDATA32
# const int ConstantVar = 17;
#
# // S_GDATA32
# const int *GlobalVar = &ConstantVar;
#
# // S_CONSTANT
# constexpr int ConstexprVar = 18;
#
# // S_UDT
# typedef HelloPoint HelloPointTypedef;
#
# // S_GTHREAD32
# thread_local int GlobalTLS = 254;
#
# // S_LTHREAD32
# static thread_local int StaticTLS = 22;
#
# int main(int argc, char **argv) {
#   HelloPointTypedef P;
#   int N = P.X + P.Y + P.Z;
#   N += LocalFunc() + GlobalFunc();
#   N += *GlobalVar;
#   N += ConstexprVar;
#   N += GlobalTLS;
#   N += StaticTLS;
#   return N;
# }


--- !COFF
header:
  Machine:         IMAGE_FILE_MACHINE_I386
  Characteristics: [  ]
sections:
  - Name:            .text
    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
    Alignment:       16
    SectionData:     5589E5B82B0000005DC3660F1F4400005589E583EC248B450C8B4D08C745FC000000008D55F0894DE889D18945E4E8000000008B4DF08B55F401D18B55F801D1894DEC8945E0E8000000008945DCE8000000008B4DDC01C18B45EC01C88945ECA1000000008B008B4DEC01C1894DEC8B45EC83C0128945ECA100000000648B0D000000008B04818B88000000008B55EC01CA8955EC8B80000000000345EC8945EC8B45EC83C4245DC30F1F80000000005589E5B82A0000005DC3
    Relocations:
      - VirtualAddress:  47
        SymbolName:      '??0HelloPoint@@QAE@XZ'
        Type:            IMAGE_REL_I386_REL32
      - VirtualAddress:  71
        SymbolName:      '?LocalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_REL32
      - VirtualAddress:  79
        SymbolName:      '?GlobalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_REL32
      - VirtualAddress:  97
        SymbolName:      '?GlobalVar@@3PBHB'
        Type:            IMAGE_REL_I386_DIR32
      - VirtualAddress:  121
        SymbolName:      __tls_index
        Type:            IMAGE_REL_I386_DIR32
      - VirtualAddress:  128
        SymbolName:      __tls_array
        Type:            IMAGE_REL_I386_DIR32
      - VirtualAddress:  137
        SymbolName:      '?GlobalTLS@@3HA'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  151
        SymbolName:      _StaticTLS
        Type:            IMAGE_REL_I386_SECREL
  - Name:            .data
    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
    Alignment:       4
    SectionData:     '00000000'
    Relocations:
      - VirtualAddress:  0
        SymbolName:      _ConstantVar
        Type:            IMAGE_REL_I386_DIR32
  - Name:            .bss
    Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
    Alignment:       4
    SectionData:     ''
    SizeOfRawData:   4
  - Name:            .text
    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
    Alignment:       16
    SectionData:     5589E550894DFC8B45FCC70003000000C7400404000000C740080500000083C4045DC3
  - Name:            .rdata
    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
    Alignment:       4
    SectionData:     '11000000'
  - Name:            '.tls$'
    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
    Alignment:       4
    SectionData:     FE00000016000000
  - Name:            .drectve
    Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
    Alignment:       1
    SectionData:     202F44454641554C544C49423A6C6962636D742E6C6962202F44454641554C544C49423A6F6C646E616D65732E6C6962
  - Name:            '.debug$S'
    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
    Alignment:       4
    SectionData:     04000000F10000008400000082003C110100000007000B00000000000000F82A000000000000636C616E672076657273696F6E2031312E302E30202868747470733A2F2F6769746875622E636F6D2F6C6C766D2F6C6C766D2D70726F6A6563742E6769742066356231333031636538353735663664383265383730333161316135343835633333363337613933290000F50000006400000000000000000000000A0000000000000000000000000000001E000000030000000400000001000000090000000000000000000000000000004B00000002000400000000000300000007000000000000000000000000000000890000000000040000000000F100000058000000320047110000000000000000000000000A00000000000000000000000210000000000000000000476C6F62616C46756E630000001E0012100400000000000000000000000000000000000000000000800200000002004F11F20000002000000000000000000000000A000000000000000100000014000000000000000D000000F5000000640000000000000000000000990000000000000008000000000000001E000000060000000400000001000000980000000000000008000000000000004B00000005000400000000000300000096000000000000000800000000000000890000000300040000000000F1000000C80000002A00471100000000000000000000000099000000000000000000000006100000000000000000006D61696E001E001210280000000000000000000000000000000000000000000080020000000E003E117400000001006172676300000E0042110800000029000000000080000E003E110310000001006172677600000E0042110C00000029000000000080000A003E1109100000000050000E004211F0FFFFFF29000000000080000A003E117400000000004E000E004211ECFFFFFF290000000000800002004F11F200000060000000000000000000000099000000000000000900000054000000000000002300000019000000240000002300000025000000360000002600000050000000270000005F000000280000006800000029000000850000002A000000910000002B000000F50000006400000000000000000000000A0000000000000000000000000000001E000000030000000400000001000000090000000000000000000000000000004B00000002000400000000000300000007000000000000000000000000000000890000000000040000000000F100000058000000320046110000000000000000000000000A000000000000000000000010100000000000000000004C6F63616C46756E63000000001E0012100400000000000000000000000000000000000000000000800200000002004F11F20000002000000000000000000000000A000000000000000100000014000000000000000A000000F1000000980000001A000D11030400000000000000005F5F7075726563616C6C0000000016000D1112100000000000000000476C6F62616C566172001600131174000000000000000000476C6F62616C544C530016000711111000001200436F6E73746578707256617200001A000C1111100000000000000000436F6E7374616E745661720000001600121174000000000000000000537461746963544C5300F1000000300000001A0008110910000048656C6C6F506F696E7454797065646566000000120008110910000048656C6C6F506F696E740000F4000000180000000100000010017753D4B71F317402F33D3EEEBECB620E0000F3000000C800000000463A5C6C6C766D2D70726F6A6563745C5F5F746573745C612E63707000245430202E7261536561726368203D202465697020245430205E203D2024657370202454302034202B203D2000245430202E7261536561726368203D202465697020245430205E203D2024657370202454302034202B203D2024656270202454302034202D205E203D200024543020246562702034202B203D202465697020245430205E203D2024657370202454302034202B203D2024656270202454302034202D205E203D20000000F10000000800000006004C1115100000
    Subsections:
      - !Symbols
        Records:
          - Kind:            S_COMPILE3
            Compile3Sym:
              Flags:           [  ]
              Machine:         Pentium3
              FrontendMajor:   11
              FrontendMinor:   0
              FrontendBuild:   0
              FrontendQFE:     0
              BackendMajor:    11000
              BackendMinor:    0
              BackendBuild:    0
              BackendQFE:      0
              Version:         'clang version 11.0.0 (https://github.com/llvm/llvm-project.git f5b1301ce8575f6d82e87031a1a5485c33637a93)'
      - !FrameData
        Frames:
          - CodeSize:        10
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      3
            RvaStart:        0
            SavedRegsSize:   0
          - CodeSize:        9
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      2
            RvaStart:        1
            SavedRegsSize:   4
          - CodeSize:        7
            FrameFunc:       '$T0 $ebp 4 + = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      0
            RvaStart:        3
            SavedRegsSize:   4
      - !Symbols
        Records:
          - Kind:            S_GPROC32_ID
            ProcSym:
              CodeSize:        10
              DbgStart:        0
              DbgEnd:          0
              FunctionType:    4098
              Flags:           [  ]
              DisplayName:     GlobalFunc
          - Kind:            S_FRAMEPROC
            FrameProcSym:
              TotalFrameBytes: 4
              PaddingFrameBytes: 0
              OffsetToPadding: 0
              BytesOfCalleeSavedRegisters: 0
              OffsetOfExceptionHandler: 0
              SectionIdOfExceptionHandler: 0
              Flags:           [  ]
          - Kind:            S_PROC_ID_END
            ScopeEndSym:     {}
      - !Lines
        CodeSize:        10
        Flags:           [  ]
        RelocOffset:     0
        RelocSegment:    0
        Blocks:
          - FileName:        'F:\llvm-project\__test\a.cpp'
            Lines:
              - Offset:          0
                LineStart:       13
                IsStatement:     false
                EndDelta:        0
            Columns:         []
      - !FrameData
        Frames:
          - CodeSize:        153
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      8
            PrologSize:      6
            RvaStart:        0
            SavedRegsSize:   0
          - CodeSize:        152
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      8
            PrologSize:      5
            RvaStart:        1
            SavedRegsSize:   4
          - CodeSize:        150
            FrameFunc:       '$T0 $ebp 4 + = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      8
            PrologSize:      3
            RvaStart:        3
            SavedRegsSize:   4
      - !Symbols
        Records:
          - Kind:            S_GPROC32_ID
            ProcSym:
              CodeSize:        153
              DbgStart:        0
              DbgEnd:          0
              FunctionType:    4102
              Flags:           [  ]
              DisplayName:     main
          - Kind:            S_FRAMEPROC
            FrameProcSym:
              TotalFrameBytes: 40
              PaddingFrameBytes: 0
              OffsetToPadding: 0
              BytesOfCalleeSavedRegisters: 0
              OffsetOfExceptionHandler: 0
              SectionIdOfExceptionHandler: 0
              Flags:           [  ]
          - Kind:            S_LOCAL
            LocalSym:
              Type:            116
              Flags:           [ IsParameter ]
              VarName:         argc
          - Kind:            S_DEFRANGE_FRAMEPOINTER_REL
            DefRangeFramePointerRelSym:
              Offset:          8
              Range:
                OffsetStart:     41
                ISectStart:      0
                Range:           128
              Gaps:            []
          - Kind:            S_LOCAL
            LocalSym:
              Type:            4099
              Flags:           [ IsParameter ]
              VarName:         argv
          - Kind:            S_DEFRANGE_FRAMEPOINTER_REL
            DefRangeFramePointerRelSym:
              Offset:          12
              Range:
                OffsetStart:     41
                ISectStart:      0
                Range:           128
              Gaps:            []
          - Kind:            S_LOCAL
            LocalSym:
              Type:            4105
              Flags:           [  ]
              VarName:         P
          - Kind:            S_DEFRANGE_FRAMEPOINTER_REL
            DefRangeFramePointerRelSym:
              Offset:          -16
              Range:
                OffsetStart:     41
                ISectStart:      0
                Range:           128
              Gaps:            []
          - Kind:            S_LOCAL
            LocalSym:
              Type:            116
              Flags:           [  ]
              VarName:         N
          - Kind:            S_DEFRANGE_FRAMEPOINTER_REL
            DefRangeFramePointerRelSym:
              Offset:          -20
              Range:
                OffsetStart:     41
                ISectStart:      0
                Range:           128
              Gaps:            []
          - Kind:            S_PROC_ID_END
            ScopeEndSym:     {}
      - !Lines
        CodeSize:        153
        Flags:           [  ]
        RelocOffset:     0
        RelocSegment:    0
        Blocks:
          - FileName:        'F:\llvm-project\__test\a.cpp'
            Lines:
              - Offset:          0
                LineStart:       35
                IsStatement:     false
                EndDelta:        0
              - Offset:          25
                LineStart:       36
                IsStatement:     false
                EndDelta:        0
              - Offset:          35
                LineStart:       37
                IsStatement:     false
                EndDelta:        0
              - Offset:          54
                LineStart:       38
                IsStatement:     false
                EndDelta:        0
              - Offset:          80
                LineStart:       39
                IsStatement:     false
                EndDelta:        0
              - Offset:          95
                LineStart:       40
                IsStatement:     false
                EndDelta:        0
              - Offset:          104
                LineStart:       41
                IsStatement:     false
                EndDelta:        0
              - Offset:          133
                LineStart:       42
                IsStatement:     false
                EndDelta:        0
              - Offset:          145
                LineStart:       43
                IsStatement:     false
                EndDelta:        0
            Columns:         []
      - !FrameData
        Frames:
          - CodeSize:        10
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      3
            RvaStart:        0
            SavedRegsSize:   0
          - CodeSize:        9
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      2
            RvaStart:        1
            SavedRegsSize:   4
          - CodeSize:        7
            FrameFunc:       '$T0 $ebp 4 + = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      0
            RvaStart:        3
            SavedRegsSize:   4
      - !Symbols
        Records:
          - Kind:            S_LPROC32_ID
            ProcSym:
              CodeSize:        10
              DbgStart:        0
              DbgEnd:          0
              FunctionType:    4112
              Flags:           [  ]
              DisplayName:     LocalFunc
          - Kind:            S_FRAMEPROC
            FrameProcSym:
              TotalFrameBytes: 4
              PaddingFrameBytes: 0
              OffsetToPadding: 0
              BytesOfCalleeSavedRegisters: 0
              OffsetOfExceptionHandler: 0
              SectionIdOfExceptionHandler: 0
              Flags:           [  ]
          - Kind:            S_PROC_ID_END
            ScopeEndSym:     {}
      - !Lines
        CodeSize:        10
        Flags:           [  ]
        RelocOffset:     0
        RelocSegment:    0
        Blocks:
          - FileName:        'F:\llvm-project\__test\a.cpp'
            Lines:
              - Offset:          0
                LineStart:       10
                IsStatement:     false
                EndDelta:        0
            Columns:         []
      - !Symbols
        Records:
          - Kind:            S_GDATA32
            DataSym:
              Type:            1027
              DisplayName:     __purecall
          - Kind:            S_GDATA32
            DataSym:
              Type:            4114
              DisplayName:     GlobalVar
          - Kind:            S_GTHREAD32
            ThreadLocalDataSym:
              Type:            116
              DisplayName:     GlobalTLS
          - Kind:            S_CONSTANT
            ConstantSym:
              Type:            4113
              Value:           18
              Name:            ConstexprVar
          - Kind:            S_LDATA32
            DataSym:
              Type:            4113
              DisplayName:     ConstantVar
          - Kind:            S_LTHREAD32
            ThreadLocalDataSym:
              Type:            116
              DisplayName:     StaticTLS
      - !Symbols
        Records:
          - Kind:            S_UDT
            UDTSym:
              Type:            4105
              UDTName:         HelloPointTypedef
          - Kind:            S_UDT
            UDTSym:
              Type:            4105
              UDTName:         HelloPoint
      - !FileChecksums
        Checksums:
          - FileName:        'F:\llvm-project\__test\a.cpp'
            Kind:            MD5
            Checksum:        7753D4B71F317402F33D3EEEBECB620E
      - !StringTable
        Strings:
          - 'F:\llvm-project\__test\a.cpp'
          - '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = '
          - '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
          - '$T0 $ebp 4 + = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
          - ''
          - ''
      - !Symbols
        Records:
          - Kind:            S_BUILDINFO
            BuildInfoSym:
              BuildId:         4117
    Relocations:
      - VirtualAddress:  152
        SymbolName:      '?GlobalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_DIR32NB
      - VirtualAddress:  292
        SymbolName:      '?GlobalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  296
        SymbolName:      '?GlobalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  356
        SymbolName:      '?GlobalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  360
        SymbolName:      '?GlobalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  396
        SymbolName:      _main
        Type:            IMAGE_REL_I386_DIR32NB
      - VirtualAddress:  536
        SymbolName:      _main
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  540
        SymbolName:      _main
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  604
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  608
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  636
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  640
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  664
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  668
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  692
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  696
        SymbolTableIndex: 0
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  712
        SymbolName:      _main
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  716
        SymbolName:      _main
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  816
        SymbolName:      '?LocalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_DIR32NB
      - VirtualAddress:  956
        SymbolName:      '?LocalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  960
        SymbolName:      '?LocalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  1020
        SymbolName:      '?LocalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  1024
        SymbolName:      '?LocalFunc@@YAHXZ'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  1068
        SymbolName:      '?__purecall@@3PAXA'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  1072
        SymbolName:      '?__purecall@@3PAXA'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  1096
        SymbolName:      '?GlobalVar@@3PBHB'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  1100
        SymbolName:      '?GlobalVar@@3PBHB'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  1120
        SymbolName:      '?GlobalTLS@@3HA'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  1124
        SymbolName:      '?GlobalTLS@@3HA'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  1168
        SymbolName:      _ConstantVar
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  1172
        SymbolName:      _ConstantVar
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  1196
        SymbolName:      _StaticTLS
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  1200
        SymbolName:      _StaticTLS
        Type:            IMAGE_REL_I386_SECTION
  - Name:            '.debug$T'
    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
    Alignment:       4
    SectionData:     0400000006000112000000000E000810740000000000000000100000160001160000000001100000476C6F62616C46756E6300F10A000210700400000A8000000E0001120200000074000000031000000E0008107400000000000200041000001200011600000000051000006D61696E00F3F2F13200051500008002000000000000000000000000000048656C6C6F506F696E74002E3F415548656C6C6F506F696E74404000F2F1260003120D15030074000000000058000D15030074000000040059000D1503007400000008005A0032000515030002020810000000000000000000000C0048656C6C6F506F696E74002E3F415548656C6C6F506F696E74404000F2F12600051600000000463A5C6C6C766D2D70726F6A6563745C5F5F746573745C612E63707000F3F2F10E000616091000000A100000030000000A000210071000000A8400001A00091003000000071000000C1000000B020000001000000000000016000216071000000D10000048656C6C6F506F696E7400F10A000210071000000A8000001600011600000000011000004C6F63616C46756E6300F2F10A000110740000000100F2F10A000210111000000A8000001E00051600000000463A5C6C6C766D2D70726F6A6563745C5F5F7465737400F10E00051600000000612E63707000F2F11A00031605001310000000000000141000000000000000000000F2F1
    Types:
      - Kind:            LF_ARGLIST
        ArgList:
          ArgIndices:      [  ]
      - Kind:            LF_PROCEDURE
        Procedure:
          ReturnType:      116
          CallConv:        NearC
          Options:         [ None ]
          ParameterCount:  0
          ArgumentList:    4096
      - Kind:            LF_FUNC_ID
        FuncId:
          ParentScope:     0
          FunctionType:    4097
          Name:            GlobalFunc
      - Kind:            LF_POINTER
        Pointer:
          ReferentType:    1136
          Attrs:           32778
      - Kind:            LF_ARGLIST
        ArgList:
          ArgIndices:      [ 116, 4099 ]
      - Kind:            LF_PROCEDURE
        Procedure:
          ReturnType:      116
          CallConv:        NearC
          Options:         [ None ]
          ParameterCount:  2
          ArgumentList:    4100
      - Kind:            LF_FUNC_ID
        FuncId:
          ParentScope:     0
          FunctionType:    4101
          Name:            main
      - Kind:            LF_STRUCTURE
        Class:
          MemberCount:     0
          Options:         [ None, ForwardReference, HasUniqueName ]
          FieldList:       0
          Name:            HelloPoint
          UniqueName:      '.?AUHelloPoint@@'
          DerivationList:  0
          VTableShape:     0
          Size:            0
      - Kind:            LF_FIELDLIST
        FieldList:
          - Kind:            LF_MEMBER
            DataMember:
              Attrs:           3
              Type:            116
              FieldOffset:     0
              Name:            X
          - Kind:            LF_MEMBER
            DataMember:
              Attrs:           3
              Type:            116
              FieldOffset:     4
              Name:            Y
          - Kind:            LF_MEMBER
            DataMember:
              Attrs:           3
              Type:            116
              FieldOffset:     8
              Name:            Z
      - Kind:            LF_STRUCTURE
        Class:
          MemberCount:     3
          Options:         [ None, HasConstructorOrDestructor, HasUniqueName ]
          FieldList:       4104
          Name:            HelloPoint
          UniqueName:      '.?AUHelloPoint@@'
          DerivationList:  0
          VTableShape:     0
          Size:            12
      - Kind:            LF_STRING_ID
        StringId:
          Id:              0
          String:          'F:\llvm-project\__test\a.cpp'
      - Kind:            LF_UDT_SRC_LINE
        UdtSourceLine:
          UDT:             4105
          SourceFile:      4106
          LineNumber:      3
      - Kind:            LF_POINTER
        Pointer:
          ReferentType:    4103
          Attrs:           33802
      - Kind:            LF_MFUNCTION
        MemberFunction:
          ReturnType:      3
          ClassType:       4103
          ThisType:        4108
          CallConv:        ThisCall
          Options:         [ None, Constructor ]
          ParameterCount:  0
          ArgumentList:    4096
          ThisPointerAdjustment: 0
      - Kind:            LF_MFUNC_ID
        MemberFuncId:
          ClassType:       4103
          FunctionType:    4109
          Name:            HelloPoint
      - Kind:            LF_POINTER
        Pointer:
          ReferentType:    4103
          Attrs:           32778
      - Kind:            LF_FUNC_ID
        FuncId:
          ParentScope:     0
          FunctionType:    4097
          Name:            LocalFunc
      - Kind:            LF_MODIFIER
        Modifier:
          ModifiedType:    116
          Modifiers:       [ None, Const ]
      - Kind:            LF_POINTER
        Pointer:
          ReferentType:    4113
          Attrs:           32778
      - Kind:            LF_STRING_ID
        StringId:
          Id:              0
          String:          'F:\llvm-project\__test'
      - Kind:            LF_STRING_ID
        StringId:
          Id:              0
          String:          a.cpp
      - Kind:            LF_BUILDINFO
        BuildInfo:
          ArgIndices:      [ 4115, 0, 4116, 0, 0 ]
  - Name:            .llvm_addrsig
    Characteristics: [ IMAGE_SCN_LNK_REMOVE ]
    Alignment:       1
    SectionData:     181A211B
  - Name:            '.debug$S'
    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
    Alignment:       4
    SectionData:     04000000F5000000640000000000000000000000230000000000000000000000000000001E000000040000000400000001000000220000000000000000000000000000004B00000003000400000000000300000020000000000000000000000000000000890000000100040000000000F1000000840000003E0047110000000000000000000000002300000000000000000000000E1000000000000000000048656C6C6F506F696E743A3A48656C6C6F506F696E740000001E001210080000000000000000000000000000000000000000000080020000000E003E110F10000001007468697300000E004211FCFFFFFF0A0000000000190002004F11F2000000200000000000000000000000230000000000000001000000140000000000000003000000
    Subsections:
      - !FrameData
        Frames:
          - CodeSize:        35
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      4
            RvaStart:        0
            SavedRegsSize:   0
          - CodeSize:        34
            FrameFunc:       '$T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      3
            RvaStart:        1
            SavedRegsSize:   4
          - CodeSize:        32
            FrameFunc:       '$T0 $ebp 4 + = $eip $T0 ^ = $esp $T0 4 + = $ebp $T0 4 - ^ = '
            LocalSize:       0
            MaxStackSize:    0
            ParamsSize:      0
            PrologSize:      1
            RvaStart:        3
            SavedRegsSize:   4
      - !Symbols
        Records:
          - Kind:            S_GPROC32_ID
            ProcSym:
              CodeSize:        35
              DbgStart:        0
              DbgEnd:          0
              FunctionType:    4110
              Flags:           [  ]
              DisplayName:     'HelloPoint::HelloPoint'
          - Kind:            S_FRAMEPROC
            FrameProcSym:
              TotalFrameBytes: 8
              PaddingFrameBytes: 0
              OffsetToPadding: 0
              BytesOfCalleeSavedRegisters: 0
              OffsetOfExceptionHandler: 0
              SectionIdOfExceptionHandler: 0
              Flags:           [  ]
          - Kind:            S_LOCAL
            LocalSym:
              Type:            4111
              Flags:           [ IsParameter ]
              VarName:         this
          - Kind:            S_DEFRANGE_FRAMEPOINTER_REL
            DefRangeFramePointerRelSym:
              Offset:          -4
              Range:
                OffsetStart:     10
                ISectStart:      0
                Range:           25
              Gaps:            []
          - Kind:            S_PROC_ID_END
            ScopeEndSym:     {}
      - !Lines
        CodeSize:        35
        Flags:           [  ]
        RelocOffset:     0
        RelocSegment:    0
        Blocks:
          - FileName:        'F:\llvm-project\__test\a.cpp'
            Lines:
              - Offset:          0
                LineStart:       3
                IsStatement:     false
                EndDelta:        0
            Columns:         []
    Relocations:
      - VirtualAddress:  12
        SymbolName:      '??0HelloPoint@@QAE@XZ'
        Type:            IMAGE_REL_I386_DIR32NB
      - VirtualAddress:  152
        SymbolName:      '??0HelloPoint@@QAE@XZ'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  156
        SymbolName:      '??0HelloPoint@@QAE@XZ'
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  240
        SymbolTableIndex: 6
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  244
        SymbolTableIndex: 6
        Type:            IMAGE_REL_I386_SECTION
      - VirtualAddress:  260
        SymbolName:      '??0HelloPoint@@QAE@XZ'
        Type:            IMAGE_REL_I386_SECREL
      - VirtualAddress:  264
        SymbolName:      '??0HelloPoint@@QAE@XZ'
        Type:            IMAGE_REL_I386_SECTION
symbols:
  - Name:            .text
    Value:           0
    SectionNumber:   1
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          186
      NumberOfRelocations: 8
      NumberOfLinenumbers: 0
      CheckSum:        1040942742
      Number:          1
  - Name:            .data
    Value:           0
    SectionNumber:   2
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          4
      NumberOfRelocations: 1
      NumberOfLinenumbers: 0
      CheckSum:        0
      Number:          2
  - Name:            .bss
    Value:           0
    SectionNumber:   3
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          4
      NumberOfRelocations: 0
      NumberOfLinenumbers: 0
      CheckSum:        0
      Number:          3
  - Name:            .text
    Value:           0
    SectionNumber:   4
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          35
      NumberOfRelocations: 0
      NumberOfLinenumbers: 0
      CheckSum:        163193057
      Number:          4
      Selection:       IMAGE_COMDAT_SELECT_ANY
  - Name:            '??0HelloPoint@@QAE@XZ'
    Value:           0
    SectionNumber:   4
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            .rdata
    Value:           0
    SectionNumber:   5
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          4
      NumberOfRelocations: 0
      NumberOfLinenumbers: 0
      CheckSum:        3903140090
      Number:          5
  - Name:            '.tls$'
    Value:           0
    SectionNumber:   6
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          8
      NumberOfRelocations: 0
      NumberOfLinenumbers: 0
      CheckSum:        2677214779
      Number:          6
  - Name:            .drectve
    Value:           0
    SectionNumber:   7
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          48
      NumberOfRelocations: 0
      NumberOfLinenumbers: 0
      CheckSum:        149686238
      Number:          7
  - Name:            '.debug$S'
    Value:           0
    SectionNumber:   8
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          1524
      NumberOfRelocations: 33
      NumberOfLinenumbers: 0
      CheckSum:        2820308868
      Number:          8
  - Name:            '.debug$S'
    Value:           0
    SectionNumber:   11
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          292
      NumberOfRelocations: 7
      NumberOfLinenumbers: 0
      CheckSum:        1908290216
      Number:          4
      Selection:       IMAGE_COMDAT_SELECT_ASSOCIATIVE
  - Name:            '.debug$T'
    Value:           0
    SectionNumber:   9
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          516
      NumberOfRelocations: 0
      NumberOfLinenumbers: 0
      CheckSum:        2634718357
      Number:          9
  - Name:            .llvm_addrsig
    Value:           0
    SectionNumber:   10
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
    SectionDefinition:
      Length:          4
      NumberOfRelocations: 0
      NumberOfLinenumbers: 0
      CheckSum:        2196145625
      Number:          10
  - Name:            '@feat.00'
    Value:           1
    SectionNumber:   -1
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
  - Name:            '?GlobalFunc@@YAHXZ'
    Value:           0
    SectionNumber:   1
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            _main
    Value:           16
    SectionNumber:   1
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            '?LocalFunc@@YAHXZ'
    Value:           176
    SectionNumber:   1
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
    StorageClass:    IMAGE_SYM_CLASS_STATIC
  - Name:            '?GlobalVar@@3PBHB'
    Value:           0
    SectionNumber:   2
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            __tls_index
    Value:           0
    SectionNumber:   0
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            __tls_array
    Value:           0
    SectionNumber:   0
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            '?GlobalTLS@@3HA'
    Value:           0
    SectionNumber:   6
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            _StaticTLS
    Value:           4
    SectionNumber:   6
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
  - Name:            '?__purecall@@3PAXA'
    Value:           0
    SectionNumber:   3
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
  - Name:            _ConstantVar
    Value:           0
    SectionNumber:   5
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_STATIC
  - Name:            .file
    Value:           0
    SectionNumber:   -2
    SimpleType:      IMAGE_SYM_TYPE_NULL
    ComplexType:     IMAGE_SYM_DTYPE_NULL
    StorageClass:    IMAGE_SYM_CLASS_FILE
    File:            a.cpp
...