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