LLVM  15.0.0git
NativeRawSymbol.cpp
Go to the documentation of this file.
1 //===- NativeRawSymbol.cpp - Native implementation of IPDBRawSymbol -------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
13 
14 using namespace llvm;
15 using namespace llvm::pdb;
16 
18  SymIndexId SymbolId)
19  : Session(PDBSession), Tag(Tag), SymbolId(SymbolId) {}
20 
21 void NativeRawSymbol::dump(raw_ostream &OS, int Indent,
22  PdbSymbolIdField ShowIdFields,
23  PdbSymbolIdField RecurseIdFields) const {
24  dumpSymbolIdField(OS, "symIndexId", SymbolId, Indent, Session,
25  PdbSymbolIdField::SymIndexId, ShowIdFields,
26  RecurseIdFields);
27  dumpSymbolField(OS, "symTag", Tag, Indent);
28 }
29 
30 std::unique_ptr<IPDBEnumSymbols>
32  return std::make_unique<NullEnumerator<PDBSymbol>>();
33 }
34 
35 std::unique_ptr<IPDBEnumSymbols>
37  PDB_NameSearchFlags Flags) const {
38  return std::make_unique<NullEnumerator<PDBSymbol>>();
39 }
40 
41 std::unique_ptr<IPDBEnumSymbols>
43  PDB_NameSearchFlags Flags, uint32_t Section, uint32_t Offset) const {
44  return std::make_unique<NullEnumerator<PDBSymbol>>();
45 }
46 
47 std::unique_ptr<IPDBEnumSymbols>
49  PDB_NameSearchFlags Flags, uint64_t VA) const {
50  return std::make_unique<NullEnumerator<PDBSymbol>>();
51 }
52 
53 std::unique_ptr<IPDBEnumSymbols>
55  PDB_NameSearchFlags Flags, uint32_t RVA) const {
56  return std::make_unique<NullEnumerator<PDBSymbol>>();
57 }
58 
59 std::unique_ptr<IPDBEnumSymbols>
61  uint32_t Offset) const {
62  return std::make_unique<NullEnumerator<PDBSymbol>>();
63 }
64 
65 std::unique_ptr<IPDBEnumSymbols>
67  return std::make_unique<NullEnumerator<PDBSymbol>>();
68 }
69 
70 std::unique_ptr<IPDBEnumSymbols>
72  return std::make_unique<NullEnumerator<PDBSymbol>>();
73 }
74 
75 std::unique_ptr<IPDBEnumLineNumbers>
77  return std::make_unique<NullEnumerator<IPDBLineNumber>>();
78 }
79 
80 std::unique_ptr<IPDBEnumLineNumbers>
82  uint32_t Length) const {
83  return std::make_unique<NullEnumerator<IPDBLineNumber>>();
84 }
85 
86 std::unique_ptr<IPDBEnumLineNumbers>
88  return std::make_unique<NullEnumerator<IPDBLineNumber>>();
89 }
90 
91 std::unique_ptr<IPDBEnumLineNumbers>
93  return std::make_unique<NullEnumerator<IPDBLineNumber>>();
94 }
95 
97  bytes.clear();
98 }
99 
102 }
103 
105  return 0;
106 }
107 
109  return 0;
110 }
111 
113  return 0;
114 }
115 
117 
119  Version.Major = 0;
120  Version.Minor = 0;
121  Version.Build = 0;
122  Version.QFE = 0;
123 }
124 
126  return 0;
127 }
128 
130  return 0;
131 }
132 
134 
136  return PDB_BuiltinType::None;
137 }
138 
140  return 0;
141 }
142 
144  return PDB_CallingConv::FarStdCall;
145 }
146 
148 
149 std::string NativeRawSymbol::getCompilerName() const {
150  return {};
151 }
152 
154  return 0;
155 }
156 
158  return 0;
159 }
160 
162  Version.Major = 0;
163  Version.Minor = 0;
164  Version.Build = 0;
165  Version.QFE = 0;
166 }
167 
169  return PDB_Lang::Cobol;
170 }
171 
173 
174 std::string NativeRawSymbol::getLibraryName() const {
175  return {};
176 }
177 
179  return 0;
180 }
181 
183  return 0;
184 }
185 
187  return 0;
188 }
189 
192 }
193 
195 
197  return 0;
198 }
199 
200 std::string NativeRawSymbol::getName() const {
201  return {};
202 }
203 
205  return 0;
206 }
207 
209  return 0;
210 }
211 
213  return 0;
214 }
215 
217  return 0;
218 }
219 
221  return 0;
222 }
223 
225  return {};
226 }
227 
229  return 0;
230 }
231 
233 
235  return 0;
236 }
237 
239  return PDB_Cpu::Intel8080;
240 }
241 
243  return 0;
244 }
245 
248 }
249 
251  return 0;
252 }
253 
255  return 0;
256 }
257 
259  return 0;
260 }
261 
263  return 0;
264 }
265 
267  return 0;
268 }
269 
271  return 0;
272 }
273 
275  return {};
276 }
277 
278 std::unique_ptr<IPDBLineNumber>
280  return nullptr;
281 }
282 
284  return 0;
285 }
286 
288 
289 std::string NativeRawSymbol::getSymbolsFileName() const { return {}; }
290 
292 
294  return 0;
295 }
296 
298  return 0;
299 }
300 
302  return 0;
303 }
304 
306  return 0;
307 }
308 
310  return 0;
311 }
312 
314  return 0;
315 }
316 
318  return 0;
319 }
320 
322 
324  return 0;
325 }
326 
328  return {};
329 }
330 
332  PDB_UndnameFlags Flags) const {
333  return {};
334 }
335 
337 
339 
341  return Variant();
342 }
343 
345  return 0;
346 }
347 
349  return 0;
350 }
351 
353 
354 std::unique_ptr<PDBSymbolTypeBuiltin>
356  return nullptr;
357 }
358 
360  return PDB_DataKind::Unknown;
361 }
362 
364 
366 
367 int32_t NativeRawSymbol::getOffset() const {
368  return 0;
369 }
370 
372  return 0;
373 }
374 
376  return 0;
377 }
378 
380  return PDB_LocType::Null;
381 }
382 
384  return PDB_Machine::Invalid;
385 }
386 
389 }
390 
392  return 0;
393 }
394 
396  return 0;
397 }
398 
400  return 0;
401 }
402 
404  return PDB_UdtType::Struct;
405 }
406 
408  return false;
409 }
410 
412  return false;
413 }
414 
416  return false;
417 }
418 
420  return false;
421 }
422 
424  return false;
425 }
426 
428  return false;
429 }
430 
432  return false;
433 }
434 
436  return false;
437 }
438 
440  return false;
441 }
442 
444  return false;
445 }
446 
448  return false;
449 }
450 
452  return false;
453 }
454 
456  return false;
457 }
458 
460  return false;
461 }
462 
464  return false;
465 }
466 
468  return false;
469 }
470 
472  return false;
473 }
474 
476  return false;
477 }
478 
480  return false;
481 }
482 
484  return false;
485 }
486 
488  return false;
489 }
490 
492  return false;
493 }
494 
496  return false;
497 }
498 
500  return false;
501 }
502 
504  return false;
505 }
506 
508  return false;
509 }
510 
512  return false;
513 }
514 
516  return false;
517 }
518 
520  return false;
521 }
522 
524  return false;
525 }
526 
528  return false;
529 }
530 
532  return false;
533 }
534 
536  return false;
537 }
538 
540  return false;
541 }
542 
544  return false;
545 }
546 
548  return false;
549 }
550 
552  return false;
553 }
554 
556  return false;
557 }
558 
560  return false;
561 }
562 
564  return false;
565 }
566 
568  return false;
569 }
570 
572  return false;
573 }
574 
576  return false;
577 }
578 
580  return false;
581 }
582 
584  return false;
585 }
586 
588  return false;
589 }
590 
592  return false;
593 }
594 
596  return false;
597 }
598 
600  return false;
601 }
602 
604  return false;
605 }
606 
608  return false;
609 }
610 
612  return false;
613 }
614 
616  return false;
617 }
618 
620  return false;
621 }
622 
624  return false;
625 }
626 
628  return false;
629 }
630 
632  return false;
633 }
634 
636  return false;
637 }
638 
640  return false;
641 }
642 
644  return false;
645 }
646 
648  return false;
649 }
650 
652  return false;
653 }
654 
656  return false;
657 }
658 
660  return false;
661 }
662 
664  return false;
665 }
666 
668  return false;
669 }
670 
672  return false;
673 }
674 
676  return false;
677 }
678 
680  return false;
681 }
682 
684  return false;
685 }
686 
688  return false;
689 }
690 
692  return false;
693 }
694 
696  return false;
697 }
698 
700  return false;
701 }
702 
704  return false;
705 }
706 
708  return false;
709 }
710 
712  return false;
713 }
714 
716  return false;
717 }
718 
720  return false;
721 }
722 
724  return false;
725 }
726 
728  return false;
729 }
730 
731 std::string NativeRawSymbol::getUnused() const {
732  return {};
733 }
llvm::pdb::PDB_MemberAccess::Private
@ Private
llvm::pdb::PDB_UdtType::Struct
@ Struct
llvm::pdb::NativeRawSymbol::isStatic
bool isStatic() const override
Definition: NativeRawSymbol.cpp:691
llvm::pdb::NativeRawSymbol::hasEHa
bool hasEHa() const override
Definition: NativeRawSymbol.cpp:471
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:17
llvm::pdb::NativeRawSymbol::getVirtualBaseTableType
std::unique_ptr< PDBSymbolTypeBuiltin > getVirtualBaseTableType() const override
Definition: NativeRawSymbol.cpp:355
llvm::pdb::NativeRawSymbol::getRegisterId
codeview::RegisterId getRegisterId() const override
Definition: NativeRawSymbol.cpp:246
llvm::pdb::NativeRawSymbol::getSourceFileName
std::string getSourceFileName() const override
Definition: NativeRawSymbol.cpp:274
llvm::N86::EAX
@ EAX
Definition: X86MCTargetDesc.h:51
llvm::pdb::NativeRawSymbol::getLiveRangeStartRelativeVirtualAddress
uint32_t getLiveRangeStartRelativeVirtualAddress() const override
Definition: NativeRawSymbol.cpp:186
llvm::pdb::NativeRawSymbol::hasManagedCode
bool hasManagedCode() const override
Definition: NativeRawSymbol.cpp:495
llvm::pdb::NativeRawSymbol::getSamplerSlot
uint32_t getSamplerSlot() const override
Definition: NativeRawSymbol.cpp:258
llvm::pdb::NativeRawSymbol::getUnused
std::string getUnused() const override
Definition: NativeRawSymbol.cpp:731
llvm::pdb::NativeRawSymbol::wasInlined
bool wasInlined() const override
Definition: NativeRawSymbol.cpp:727
llvm::pdb::NativeRawSymbol::getTargetOffset
uint32_t getTargetOffset() const override
Definition: NativeRawSymbol.cpp:293
llvm::pdb::NativeRawSymbol::isConstType
bool isConstType() const override
Definition: NativeRawSymbol.cpp:427
llvm::pdb::NativeRawSymbol::getBitPosition
uint32_t getBitPosition() const override
Definition: NativeRawSymbol.cpp:139
llvm::pdb::NativeRawSymbol::hasConstructor
bool hasConstructor() const override
Definition: NativeRawSymbol.cpp:407
llvm::pdb::NativeRawSymbol::getSymbolsFileName
std::string getSymbolsFileName() const override
Definition: NativeRawSymbol.cpp:289
llvm::SmallVector< uint8_t, 32 >
llvm::pdb::NativeRawSymbol::isHotpatchable
bool isHotpatchable() const override
Definition: NativeRawSymbol.cpp:575
llvm::pdb::NativeRawSymbol::getLocalBasePointerRegisterId
codeview::RegisterId getLocalBasePointerRegisterId() const override
Definition: NativeRawSymbol.cpp:190
llvm::pdb::NativeRawSymbol::getSymTag
PDB_SymType getSymTag() const override
Definition: NativeRawSymbol.cpp:363
llvm::pdb::NativeRawSymbol::isAcceleratorPointerTagLiveRange
bool isAcceleratorPointerTagLiveRange() const override
Definition: NativeRawSymbol.cpp:539
llvm::pdb::NativeRawSymbol::isCode
bool isCode() const override
Definition: NativeRawSymbol.cpp:419
llvm::pdb::NativeRawSymbol::getDataKind
PDB_DataKind getDataKind() const override
Definition: NativeRawSymbol.cpp:359
llvm::pdb::NativeRawSymbol::getAccess
PDB_MemberAccess getAccess() const override
Definition: NativeRawSymbol.cpp:100
llvm::codeview::GUID
This represents the 'GUID' type from windows.h.
Definition: GUID.h:21
llvm::pdb::NativeRawSymbol::getNumberOfRegisterIndices
uint32_t getNumberOfRegisterIndices() const override
Definition: NativeRawSymbol.cpp:216
llvm::pdb::PDB_UdtType
PDB_UdtType
These values correspond to the UdtKind enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:310
llvm::pdb::NativeRawSymbol::findInlineFramesByAddr
std::unique_ptr< IPDBEnumSymbols > findInlineFramesByAddr(uint32_t Section, uint32_t Offset) const override
Definition: NativeRawSymbol.cpp:60
llvm::pdb::NativeRawSymbol::isUnalignedType
bool isUnalignedType() const override
Definition: NativeRawSymbol.cpp:699
llvm::pdb::PDB_LocType
PDB_LocType
These values correspond to the LocationType enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:292
llvm::pdb::NativeRawSymbol::getVirtualBaseOffset
uint32_t getVirtualBaseOffset() const override
Definition: NativeRawSymbol.cpp:348
PDBSymbolTypeBuiltin.h
llvm::pdb::NativeRawSymbol::hasNoInlineAttribute
bool hasNoInlineAttribute() const override
Definition: NativeRawSymbol.cpp:503
llvm::Type
The instances of the Type class are immutable: once they are created, they are never changed.
Definition: Type.h:45
llvm::pdb::NativeRawSymbol::getNumberOfAcceleratorPointerTags
uint32_t getNumberOfAcceleratorPointerTags() const override
Definition: NativeRawSymbol.cpp:204
llvm::pdb::NativeRawSymbol::getNumberOfRows
uint32_t getNumberOfRows() const override
Definition: NativeRawSymbol.cpp:220
llvm::pdb::NativeRawSymbol::getLanguage
PDB_Lang getLanguage() const override
Definition: NativeRawSymbol.cpp:168
llvm::pdb::NativeRawSymbol::getSignature
uint32_t getSignature() const override
Definition: NativeRawSymbol.cpp:262
llvm::pdb::VersionInfo
Definition: PDBTypes.h:387
llvm::pdb::NativeRawSymbol::getAddressSection
uint32_t getAddressSection() const override
Definition: NativeRawSymbol.cpp:108
llvm::pdb::NativeRawSymbol::isMultipleInheritance
bool isMultipleInheritance() const override
Definition: NativeRawSymbol.cpp:615
llvm::pdb::NativeRawSymbol::findInlineeLines
std::unique_ptr< IPDBEnumLineNumbers > findInlineeLines() const override
Definition: NativeRawSymbol.cpp:76
llvm::pdb::NativeRawSymbol::isRValueReference
bool isRValueReference() const override
Definition: NativeRawSymbol.cpp:651
llvm::pdb::NativeRawSymbol::getRegisterType
uint32_t getRegisterType() const override
Definition: NativeRawSymbol.cpp:250
llvm::pdb::NativeRawSymbol::getUpperBoundId
SymIndexId getUpperBoundId() const override
Definition: NativeRawSymbol.cpp:338
llvm::pdb::NativeRawSymbol::getMemorySpaceKind
uint32_t getMemorySpaceKind() const override
Definition: NativeRawSymbol.cpp:196
llvm::pdb::NativeRawSymbol::getStride
uint32_t getStride() const override
Definition: NativeRawSymbol.cpp:283
llvm::pdb::PDB_SymType
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:243
llvm::pdb::NativeRawSymbol::isIntrinsic
bool isIntrinsic() const override
Definition: NativeRawSymbol.cpp:587
llvm::pdb::NativeRawSymbol::isVolatileType
bool isVolatileType() const override
Definition: NativeRawSymbol.cpp:723
llvm::pdb::NativeRawSymbol::getLength
uint64_t getLength() const override
Definition: NativeRawSymbol.cpp:391
llvm::pdb::NativeRawSymbol::getMachineType
PDB_Machine getMachineType() const override
Definition: NativeRawSymbol.cpp:383
llvm::pdb::NativeRawSymbol::hasEH
bool hasEH() const override
Definition: NativeRawSymbol.cpp:467
llvm::pdb::NativeRawSymbol::hasInlineAttribute
bool hasInlineAttribute() const override
Definition: NativeRawSymbol.cpp:479
llvm::pdb::NativeRawSymbol::getSrcLineOnTypeDefn
std::unique_ptr< IPDBLineNumber > getSrcLineOnTypeDefn() const override
Definition: NativeRawSymbol.cpp:279
IPDBLineNumber.h
llvm::pdb::NativeRawSymbol::getLowerBoundId
SymIndexId getLowerBoundId() const override
Definition: NativeRawSymbol.cpp:194
llvm::pdb::NativeRawSymbol::hasOptimizedCodeDebugInfo
bool hasOptimizedCodeDebugInfo() const override
Definition: NativeRawSymbol.cpp:511
llvm::pdb::NativeRawSymbol::getAddressTaken
bool getAddressTaken() const override
Definition: NativeRawSymbol.cpp:439
llvm::pdb::NativeRawSymbol::isPacked
bool isPacked() const override
Definition: NativeRawSymbol.cpp:631
llvm::pdb::NativeRawSymbol::isSdl
bool isSdl() const override
Definition: NativeRawSymbol.cpp:679
llvm::pdb::PDB_LocType::Null
@ Null
llvm::pdb::NativeRawSymbol::getLiveRangeStartAddressSection
uint32_t getLiveRangeStartAddressSection() const override
Definition: NativeRawSymbol.cpp:182
llvm::pdb::NativeRawSymbol::getSubTypeId
SymIndexId getSubTypeId() const override
Definition: NativeRawSymbol.cpp:287
llvm::pdb::NativeRawSymbol::findInlineFramesByVA
std::unique_ptr< IPDBEnumSymbols > findInlineFramesByVA(uint64_t VA) const override
Definition: NativeRawSymbol.cpp:71
llvm::pdb::NativeRawSymbol::getUdtKind
PDB_UdtType getUdtKind() const override
Definition: NativeRawSymbol.cpp:403
llvm::pdb::NativeRawSymbol::isIntroVirtualFunction
bool isIntroVirtualFunction() const override
Definition: NativeRawSymbol.cpp:551
llvm::pdb::NativeRawSymbol::hasSEH
bool hasSEH() const override
Definition: NativeRawSymbol.cpp:519
llvm::pdb::NativeRawSymbol::isSingleInheritance
bool isSingleInheritance() const override
Definition: NativeRawSymbol.cpp:683
llvm::pdb::NativeRawSymbol::isFunction
bool isFunction() const override
Definition: NativeRawSymbol.cpp:435
llvm::pdb::NativeRawSymbol::isPureVirtual
bool isPureVirtual() const override
Definition: NativeRawSymbol.cpp:647
llvm::pdb::NativeRawSymbol::getCountLiveRanges
uint32_t getCountLiveRanges() const override
Definition: NativeRawSymbol.cpp:157
llvm::pdb::PDB_DataKind
PDB_DataKind
These values correspond to the DataKind enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:228
llvm::pdb::NativeRawSymbol::hasPrivateSymbols
bool hasPrivateSymbols() const override
Definition: NativeRawSymbol.cpp:695
llvm::pdb::NativeRawSymbol::getOemSymbolId
SymIndexId getOemSymbolId() const override
Definition: NativeRawSymbol.cpp:232
llvm::pdb::NativeRawSymbol::getOffsetInUdt
uint32_t getOffsetInUdt() const override
Definition: NativeRawSymbol.cpp:234
llvm::pdb::NativeRawSymbol::getVirtualAddress
uint64_t getVirtualAddress() const override
Definition: NativeRawSymbol.cpp:399
llvm::pdb::NativeRawSymbol::isAcceleratorStubFunction
bool isAcceleratorStubFunction() const override
Definition: NativeRawSymbol.cpp:543
llvm::pdb::NativeRawSymbol::isCompilerGenerated
bool isCompilerGenerated() const override
Definition: NativeRawSymbol.cpp:423
llvm::pdb::NativeRawSymbol::isVirtualBaseClass
bool isVirtualBaseClass() const override
Definition: NativeRawSymbol.cpp:715
llvm::pdb::NativeRawSymbol::hasDebugInfo
bool hasDebugInfo() const override
Definition: NativeRawSymbol.cpp:463
llvm::pdb::NativeRawSymbol::getThisAdjust
int32_t getThisAdjust() const override
Definition: NativeRawSymbol.cpp:371
llvm::pdb::NativeRawSymbol::hasInlAsm
bool hasInlAsm() const override
Definition: NativeRawSymbol.cpp:475
llvm::pdb::NativeRawSymbol::getBaseDataSlot
uint32_t getBaseDataSlot() const override
Definition: NativeRawSymbol.cpp:129
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:54
llvm::pdb::NativeRawSymbol::isLocationControlFlowDependent
bool isLocationControlFlowDependent() const override
Definition: NativeRawSymbol.cpp:595
llvm::pdb::NativeRawSymbol::getToken
uint32_t getToken() const override
Definition: NativeRawSymbol.cpp:317
llvm::pdb::NativeRawSymbol::getBackEndVersion
void getBackEndVersion(VersionInfo &Version) const override
Definition: NativeRawSymbol.cpp:118
llvm::pdb::PDB_NameSearchFlags
PDB_NameSearchFlags
Defines flags used for enumerating child symbols.
Definition: PDBTypes.h:102
llvm::pdb::NativeRawSymbol::getSizeInUdt
uint32_t getSizeInUdt() const override
Definition: NativeRawSymbol.cpp:266
llvm::pdb::NativeRawSymbol::getLocationType
PDB_LocType getLocationType() const override
Definition: NativeRawSymbol.cpp:379
llvm::pdb::NativeRawSymbol::hasAssignmentOperator
bool hasAssignmentOperator() const override
Definition: NativeRawSymbol.cpp:451
llvm::pdb::NativeRawSymbol::getOemId
uint32_t getOemId() const override
Definition: NativeRawSymbol.cpp:228
llvm::pdb::NativeRawSymbol::isAggregated
bool isAggregated() const override
Definition: NativeRawSymbol.cpp:547
llvm::pdb::NativeRawSymbol::isIndirectVirtualBaseClass
bool isIndirectVirtualBaseClass() const override
Definition: NativeRawSymbol.cpp:579
llvm::pdb::NativeRawSymbol::getFrontEndVersion
void getFrontEndVersion(VersionInfo &Version) const override
Definition: NativeRawSymbol.cpp:161
llvm::pdb
Definition: ConcreteSymbolEnumerator.h:20
llvm::pdb::NativeRawSymbol::isPointerToDataMember
bool isPointerToDataMember() const override
Definition: NativeRawSymbol.cpp:639
llvm::pdb::NativeRawSymbol::hasCastOperator
bool hasCastOperator() const override
Definition: NativeRawSymbol.cpp:459
llvm::pdb::NativeRawSymbol::getSlot
uint32_t getSlot() const override
Definition: NativeRawSymbol.cpp:270
llvm::pdb::NativeRawSymbol::isPointerToMemberFunction
bool isPointerToMemberFunction() const override
Definition: NativeRawSymbol.cpp:643
llvm::pdb::NativeRawSymbol::isVirtual
bool isVirtual() const override
Definition: NativeRawSymbol.cpp:711
llvm::pdb::NativeRawSymbol::isNested
bool isNested() const override
Definition: NativeRawSymbol.cpp:623
llvm::pdb::NativeRawSymbol::findInlineeLinesByAddr
std::unique_ptr< IPDBEnumLineNumbers > findInlineeLinesByAddr(uint32_t Section, uint32_t Offset, uint32_t Length) const override
Definition: NativeRawSymbol.cpp:81
llvm::pdb::NativeRawSymbol::hasStrictGSCheck
bool hasStrictGSCheck() const override
Definition: NativeRawSymbol.cpp:531
llvm::pdb::NativeRawSymbol::getVirtualBasePointerOffset
int32_t getVirtualBasePointerOffset() const override
Definition: NativeRawSymbol.cpp:375
uint64_t
llvm::pdb::NativeRawSymbol::isReference
bool isReference() const override
Definition: NativeRawSymbol.cpp:659
llvm::pdb::dumpSymbolField
void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent)
Definition: PDBExtras.h:47
llvm::pdb::NativeRawSymbol::getAddressOffset
uint32_t getAddressOffset() const override
Definition: NativeRawSymbol.cpp:104
llvm::pdb::NativeRawSymbol::getTargetVirtualAddress
uint64_t getTargetVirtualAddress() const override
Definition: NativeRawSymbol.cpp:301
llvm::pdb::NativeRawSymbol::findInlineeLinesByRVA
std::unique_ptr< IPDBEnumLineNumbers > findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const override
Definition: NativeRawSymbol.cpp:87
llvm::pdb::NativeRawSymbol::getThunkOrdinal
codeview::ThunkOrdinal getThunkOrdinal() const override
Definition: NativeRawSymbol.cpp:387
llvm::pdb::NativeRawSymbol::getValue
Variant getValue() const override
Definition: NativeRawSymbol.cpp:340
llvm::pdb::PDB_UndnameFlags
PDB_UndnameFlags
These values correspond to the flags that can be combined to control the return of an undecorated nam...
Definition: PDBTypes.h:362
llvm::pdb::dumpSymbolIdField
void dumpSymbolIdField(raw_ostream &OS, StringRef Name, SymIndexId Value, int Indent, const IPDBSession &Session, PdbSymbolIdField FieldId, PdbSymbolIdField ShowFlags, PdbSymbolIdField RecurseFlags)
Definition: PDBSymbol.cpp:202
llvm::pdb::NativeRawSymbol::hasOverloadedOperator
bool hasOverloadedOperator() const override
Definition: NativeRawSymbol.cpp:515
llvm::pdb::NativeRawSymbol::hasInterruptReturn
bool hasInterruptReturn() const override
Definition: NativeRawSymbol.cpp:483
llvm::pdb::PDB_BuiltinType::None
@ None
llvm::pdb::NativeRawSymbol::getCallingConvention
PDB_CallingConv getCallingConvention() const override
Definition: NativeRawSymbol.cpp:143
llvm::pdb::NativeRawSymbol::getBaseSymbolId
SymIndexId getBaseSymbolId() const override
Definition: NativeRawSymbol.cpp:133
llvm::pdb::NativeRawSymbol::getLibraryName
std::string getLibraryName() const override
Definition: NativeRawSymbol.cpp:174
llvm::pdb::NativeRawSymbol::getTypeId
SymIndexId getTypeId() const override
Definition: NativeRawSymbol.cpp:321
llvm::codeview::ThunkOrdinal::Standard
@ Standard
llvm::pdb::NativeRawSymbol::hasFarReturn
bool hasFarReturn() const override
Definition: NativeRawSymbol.cpp:415
llvm::pdb::NativeRawSymbol::isRestrictedType
bool isRestrictedType() const override
Definition: NativeRawSymbol.cpp:663
llvm::codeview::RegisterId
RegisterId
Definition: CodeView.h:519
llvm::pdb::NativeRawSymbol::getBaseDataOffset
uint32_t getBaseDataOffset() const override
Definition: NativeRawSymbol.cpp:125
llvm::pdb::NativeRawSymbol::findChildrenByAddr
std::unique_ptr< IPDBEnumSymbols > findChildrenByAddr(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t Section, uint32_t Offset) const override
Definition: NativeRawSymbol.cpp:42
llvm::pdb::NativeRawSymbol::getSymIndexId
SymIndexId getSymIndexId() const override
Definition: NativeRawSymbol.cpp:291
llvm::pdb::NativeRawSymbol::isHLSLData
bool isHLSLData() const override
Definition: NativeRawSymbol.cpp:571
llvm::pdb::NativeRawSymbol::getLiveRangeLength
uint64_t getLiveRangeLength() const override
Definition: NativeRawSymbol.cpp:395
llvm::codeview::SourceLanguage
SourceLanguage
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn....
Definition: CodeView.h:146
llvm::pdb::NativeRawSymbol::getUndecoratedNameEx
std::string getUndecoratedNameEx(PDB_UndnameFlags Flags) const override
Definition: NativeRawSymbol.cpp:331
llvm::pdb::NativeRawSymbol::getNumberOfModifiers
uint32_t getNumberOfModifiers() const override
Definition: NativeRawSymbol.cpp:212
llvm::pdb::NativeRawSymbol::getLexicalParentId
SymIndexId getLexicalParentId() const override
Definition: NativeRawSymbol.cpp:172
llvm::pdb::PDB_Machine
PDB_Machine
Definition: PDBTypes.h:125
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:58
llvm::pdb::NativeRawSymbol::findInlineeLinesByVA
std::unique_ptr< IPDBEnumLineNumbers > findInlineeLinesByVA(uint64_t VA, uint32_t Length) const override
Definition: NativeRawSymbol.cpp:92
llvm::pdb::NativeRawSymbol::isMSILNetmodule
bool isMSILNetmodule() const override
Definition: NativeRawSymbol.cpp:599
llvm::pdb::NativeRawSymbol::getArrayIndexTypeId
SymIndexId getArrayIndexTypeId() const override
Definition: NativeRawSymbol.cpp:116
llvm::pdb::Unknown
@ Unknown
llvm::pdb::NativeRawSymbol::getVirtualTableShapeId
SymIndexId getVirtualTableShapeId() const override
Definition: NativeRawSymbol.cpp:352
llvm::pdb::NativeRawSymbol::getTargetRelativeVirtualAddress
uint32_t getTargetRelativeVirtualAddress() const override
Definition: NativeRawSymbol.cpp:297
uint32_t
llvm::pdb::NativeRawSymbol::isRefUdt
bool isRefUdt() const override
Definition: NativeRawSymbol.cpp:655
llvm::pdb::NativeRawSymbol::isMatrixRowMajor
bool isMatrixRowMajor() const override
Definition: NativeRawSymbol.cpp:603
llvm::pdb::PDB_BuiltinType
PDB_BuiltinType
These values correspond to the Basictype enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:335
llvm::pdb::NativeRawSymbol::getUndecoratedName
std::string getUndecoratedName() const override
Definition: NativeRawSymbol.cpp:327
llvm::pdb::NativeRawSymbol::isNaked
bool isNaked() const override
Definition: NativeRawSymbol.cpp:619
llvm::pdb::NativeRawSymbol::isSplitted
bool isSplitted() const override
Definition: NativeRawSymbol.cpp:687
llvm::pdb::NativeRawSymbol::isPointerBasedOnSymbolValue
bool isPointerBasedOnSymbolValue() const override
Definition: NativeRawSymbol.cpp:635
llvm::pdb::NativeRawSymbol::isVirtualInheritance
bool isVirtualInheritance() const override
Definition: NativeRawSymbol.cpp:719
llvm::pdb::NativeRawSymbol::isCxxReturnUdt
bool isCxxReturnUdt() const override
Definition: NativeRawSymbol.cpp:563
llvm::pdb::NativeRawSymbol::getNumberOfColumns
uint32_t getNumberOfColumns() const override
Definition: NativeRawSymbol.cpp:208
llvm::pdb::NativeRawSymbol::getVirtualBaseDispIndex
uint32_t getVirtualBaseDispIndex() const override
Definition: NativeRawSymbol.cpp:344
llvm::pdb::NativeRawSymbol::getRelativeVirtualAddress
uint32_t getRelativeVirtualAddress() const override
Definition: NativeRawSymbol.cpp:254
llvm::pdb::NativeRawSymbol::hasSecurityChecks
bool hasSecurityChecks() const override
Definition: NativeRawSymbol.cpp:523
llvm::pdb::NativeRawSymbol::isMSILCode
bool isMSILCode() const override
Definition: NativeRawSymbol.cpp:611
llvm::pdb::Variant
Definition: PDBTypes.h:411
llvm::GraphProgram::Name
Name
Definition: GraphWriter.h:50
llvm::pdb::NativeRawSymbol::getRank
uint32_t getRank() const override
Definition: NativeRawSymbol.cpp:242
llvm::pdb::NativeRawSymbol::hasAlloca
bool hasAlloca() const override
Definition: NativeRawSymbol.cpp:447
llvm::pdb::NativeRawSymbol::isAcceleratorGroupSharedLocal
bool isAcceleratorGroupSharedLocal() const override
Definition: NativeRawSymbol.cpp:535
llvm::pdb::NativeRawSymbol::getCount
uint32_t getCount() const override
Definition: NativeRawSymbol.cpp:153
llvm::pdb::NativeRawSymbol::isLTCG
bool isLTCG() const override
Definition: NativeRawSymbol.cpp:591
llvm::pdb::NativeRawSymbol::isSafeBuffers
bool isSafeBuffers() const override
Definition: NativeRawSymbol.cpp:671
llvm::pdb::NativeRawSymbol::isDataAligned
bool isDataAligned() const override
Definition: NativeRawSymbol.cpp:567
llvm::codeview::CPUType
CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn....
Definition: CodeView.h:78
llvm::pdb::NativeRawSymbol::getTextureSlot
uint32_t getTextureSlot() const override
Definition: NativeRawSymbol.cpp:309
llvm::pdb::NativeRawSymbol::getClassParentId
SymIndexId getClassParentId() const override
Definition: NativeRawSymbol.cpp:147
NativeRawSymbol.h
llvm::pdb::NativeRawSymbol::isUnreached
bool isUnreached() const override
Definition: NativeRawSymbol.cpp:703
llvm::SmallVectorImpl::clear
void clear()
Definition: SmallVector.h:591
llvm::pdb::PdbSymbolIdField::SymIndexId
@ SymIndexId
llvm::pdb::NativeRawSymbol::dump
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition: NativeRawSymbol.cpp:21
llvm::pdb::NativeRawSymbol::findInlineFramesByRVA
std::unique_ptr< IPDBEnumSymbols > findInlineFramesByRVA(uint32_t RVA) const override
Definition: NativeRawSymbol.cpp:66
llvm::pdb::NativeRawSymbol::findChildrenByRVA
std::unique_ptr< IPDBEnumSymbols > findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t RVA) const override
Definition: NativeRawSymbol.cpp:54
llvm::pdb::NativeRawSymbol::isCVTCIL
bool isCVTCIL() const override
Definition: NativeRawSymbol.cpp:555
llvm::pdb::NativeSession
Definition: NativeSession.h:32
llvm::codeview::Cobol
@ Cobol
Definition: CodeView.h:153
llvm::pdb::NativeRawSymbol::isOptimizedAway
bool isOptimizedAway() const override
Definition: NativeRawSymbol.cpp:627
llvm::pdb::PdbSymbolIdField
PdbSymbolIdField
Definition: IPDBRawSymbol.h:24
llvm::pdb::NativeRawSymbol::getDataBytes
void getDataBytes(SmallVector< uint8_t, 32 > &Bytes) const override
Definition: NativeRawSymbol.cpp:96
llvm::pdb::NativeRawSymbol::hasCustomCallingConvention
bool hasCustomCallingConvention() const override
Definition: NativeRawSymbol.cpp:411
llvm::codeview::ThunkOrdinal
ThunkOrdinal
These values correspond to the THUNK_ORDINAL enumeration.
Definition: CodeView.h:553
llvm::pdb::PDB_MemberAccess
PDB_MemberAccess
Definition: PDBTypes.h:385
llvm::pdb::NativeRawSymbol::isInterfaceUdt
bool isInterfaceUdt() const override
Definition: NativeRawSymbol.cpp:583
llvm::pdb::NativeRawSymbol::isValueUdt
bool isValueUdt() const override
Definition: NativeRawSymbol.cpp:707
Version
uint64_t Version
Definition: RawMemProfReader.cpp:40
llvm::pdb::NativeRawSymbol::hasCTypes
bool hasCTypes() const override
Definition: NativeRawSymbol.cpp:455
llvm::pdb::NativeRawSymbol::getUavSlot
uint32_t getUavSlot() const override
Definition: NativeRawSymbol.cpp:323
llvm::pdb::NativeRawSymbol::NativeRawSymbol
NativeRawSymbol(NativeSession &PDBSession, PDB_SymType Tag, SymIndexId SymbolId)
Definition: NativeRawSymbol.cpp:17
llvm::pdb::NativeRawSymbol::hasNoReturnAttribute
bool hasNoReturnAttribute() const override
Definition: NativeRawSymbol.cpp:507
llvm::pdb::NativeRawSymbol::isScoped
bool isScoped() const override
Definition: NativeRawSymbol.cpp:675
llvm::pdb::NativeRawSymbol::findChildrenByVA
std::unique_ptr< IPDBEnumSymbols > findChildrenByVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint64_t VA) const override
Definition: NativeRawSymbol.cpp:48
llvm::pdb::NativeRawSymbol::getLiveRangeStartAddressOffset
uint32_t getLiveRangeStartAddressOffset() const override
Definition: NativeRawSymbol.cpp:178
llvm::pdb::NativeRawSymbol::Tag
PDB_SymType Tag
Definition: NativeRawSymbol.h:233
llvm::codeview::CallingConvention
CallingConvention
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
Definition: CodeView.h:178
llvm::pdb::NativeRawSymbol::findChildren
std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type) const override
Definition: NativeRawSymbol.cpp:31
llvm::pdb::NativeRawSymbol::getTimeStamp
uint32_t getTimeStamp() const override
Definition: NativeRawSymbol.cpp:313
llvm::pdb::NativeRawSymbol::isConstructorVirtualBase
bool isConstructorVirtualBase() const override
Definition: NativeRawSymbol.cpp:559
llvm::pdb::NativeRawSymbol::getUnmodifiedTypeId
SymIndexId getUnmodifiedTypeId() const override
Definition: NativeRawSymbol.cpp:336
llvm::pdb::NativeRawSymbol::SymbolId
SymIndexId SymbolId
Definition: NativeRawSymbol.h:234
llvm::pdb::PDB_Machine::Invalid
@ Invalid
llvm::pdb::NativeRawSymbol::Session
NativeSession & Session
Definition: NativeRawSymbol.h:232
llvm::pdb::NativeRawSymbol::hasSetJump
bool hasSetJump() const override
Definition: NativeRawSymbol.cpp:527
llvm::pdb::NativeRawSymbol::getOffset
int32_t getOffset() const override
Definition: NativeRawSymbol.cpp:367
llvm::pdb::NativeRawSymbol::isManagedCode
bool isManagedCode() const override
Definition: NativeRawSymbol.cpp:607
llvm::pdb::NativeRawSymbol::getPlatform
PDB_Cpu getPlatform() const override
Definition: NativeRawSymbol.cpp:238
llvm::pdb::NativeRawSymbol::getGuid
codeview::GUID getGuid() const override
Definition: NativeRawSymbol.cpp:365
llvm::pdb::NativeRawSymbol::getObjectFileName
std::string getObjectFileName() const override
Definition: NativeRawSymbol.cpp:224
llvm::pdb::NativeRawSymbol::isReturnValue
bool isReturnValue() const override
Definition: NativeRawSymbol.cpp:667
llvm::pdb::NativeRawSymbol::getAge
uint32_t getAge() const override
Definition: NativeRawSymbol.cpp:112
llvm::pdb::NativeRawSymbol::getNoStackOrdering
bool getNoStackOrdering() const override
Definition: NativeRawSymbol.cpp:443
llvm::pdb::NativeRawSymbol::getTargetSection
uint32_t getTargetSection() const override
Definition: NativeRawSymbol.cpp:305
llvm::pdb::NativeRawSymbol::hasLongJump
bool hasLongJump() const override
Definition: NativeRawSymbol.cpp:491
llvm::pdb::NativeRawSymbol::getName
std::string getName() const override
Definition: NativeRawSymbol.cpp:200
llvm::pdb::NativeRawSymbol::getBuiltinType
PDB_BuiltinType getBuiltinType() const override
Definition: NativeRawSymbol.cpp:135
llvm::pdb::NativeRawSymbol::hasFramePointer
bool hasFramePointer() const override
Definition: NativeRawSymbol.cpp:487
llvm::pdb::NativeRawSymbol::getCompilerName
std::string getCompilerName() const override
Definition: NativeRawSymbol.cpp:149
llvm::pdb::NativeRawSymbol::isEditAndContinueEnabled
bool isEditAndContinueEnabled() const override
Definition: NativeRawSymbol.cpp:431
NativeSession.h
llvm::pdb::NativeRawSymbol::hasNestedTypes
bool hasNestedTypes() const override
Definition: NativeRawSymbol.cpp:499