LLVM  6.0.0svn
NativeRawSymbol.cpp
Go to the documentation of this file.
1 //===- NativeRawSymbol.cpp - Native implementation of IPDBRawSymbol -------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
12 
13 using namespace llvm;
14 using namespace llvm::pdb;
15 
17  : Session(PDBSession), SymbolId(SymbolId) {}
18 
19 void NativeRawSymbol::dump(raw_ostream &OS, int Indent) const {}
20 
21 std::unique_ptr<IPDBEnumSymbols>
23  return nullptr;
24 }
25 
26 std::unique_ptr<IPDBEnumSymbols>
28  PDB_NameSearchFlags Flags) const {
29  return nullptr;
30 }
31 
32 std::unique_ptr<IPDBEnumSymbols>
34  PDB_NameSearchFlags Flags, uint32_t RVA) const {
35  return nullptr;
36 }
37 
38 std::unique_ptr<IPDBEnumSymbols>
40  return nullptr;
41 }
42 
44  bytes.clear();
45 }
46 
49 }
50 
52  return 0;
53 }
54 
56  return 0;
57 }
58 
60  return 0;
61 }
62 
64  return 0;
65 }
66 
68  Version.Major = 0;
69  Version.Minor = 0;
70  Version.Build = 0;
71  Version.QFE = 0;
72 }
73 
75  return 0;
76 }
77 
79  return 0;
80 }
81 
83  return 0;
84 }
85 
87  return PDB_BuiltinType::None;
88 }
89 
91  return 0;
92 }
93 
95  return PDB_CallingConv::FarStdCall;
96 }
97 
99  return 0;
100 }
101 
102 std::string NativeRawSymbol::getCompilerName() const {
103  return {};
104 }
105 
107  return 0;
108 }
109 
111  return 0;
112 }
113 
115  Version.Major = 0;
116  Version.Minor = 0;
117  Version.Build = 0;
118  Version.QFE = 0;
119 }
120 
122  return PDB_Lang::Cobol;
123 }
124 
126  return 0;
127 }
128 
129 std::string NativeRawSymbol::getLibraryName() const {
130  return {};
131 }
132 
134  return 0;
135 }
136 
138  return 0;
139 }
140 
142  return 0;
143 }
144 
147 }
148 
150  return 0;
151 }
152 
154  return 0;
155 }
156 
157 std::string NativeRawSymbol::getName() const {
158  return {};
159 }
160 
162  return 0;
163 }
164 
166  return 0;
167 }
168 
170  return 0;
171 }
172 
174  return 0;
175 }
176 
178  return 0;
179 }
180 
182  return {};
183 }
184 
186  return 0;
187 }
188 
190  return 0;
191 }
192 
194  return 0;
195 }
196 
198  return PDB_Cpu::Intel8080;
199 }
200 
202  return 0;
203 }
204 
207 }
208 
210  return 0;
211 }
212 
214  return 0;
215 }
216 
218  return 0;
219 }
220 
222  return 0;
223 }
224 
226  return 0;
227 }
228 
230  return 0;
231 }
232 
234  return {};
235 }
236 
238  return 0;
239 }
240 
242  return 0;
243 }
244 
245 std::string NativeRawSymbol::getSymbolsFileName() const { return {}; }
246 
248 
250  return 0;
251 }
252 
254  return 0;
255 }
256 
258  return 0;
259 }
260 
262  return 0;
263 }
264 
266  return 0;
267 }
268 
270  return 0;
271 }
272 
274  return 0;
275 }
276 
278  return 0;
279 }
280 
282  return 0;
283 }
284 
286  return {};
287 }
288 
290  PDB_UndnameFlags Flags) const {
291  return {};
292 }
293 
295  return 0;
296 }
297 
299  return 0;
300 }
301 
303  return Variant();
304 }
305 
307  return 0;
308 }
309 
311  return 0;
312 }
313 
315  return 0;
316 }
317 
318 std::unique_ptr<PDBSymbolTypeBuiltin>
320  return nullptr;
321 }
322 
324  return PDB_DataKind::Unknown;
325 }
326 
328  return PDB_SymType::None;
329 }
330 
332 
333 int32_t NativeRawSymbol::getOffset() const {
334  return 0;
335 }
336 
338  return 0;
339 }
340 
342  return 0;
343 }
344 
346  return PDB_LocType::Null;
347 }
348 
350  return PDB_Machine::Invalid;
351 }
352 
355 }
356 
357 uint64_t NativeRawSymbol::getLength() const {
358  return 0;
359 }
360 
362  return 0;
363 }
364 
366  return 0;
367 }
368 
370  return PDB_UdtType::Struct;
371 }
372 
374  return false;
375 }
376 
378  return false;
379 }
380 
382  return false;
383 }
384 
386  return false;
387 }
388 
390  return false;
391 }
392 
394  return false;
395 }
396 
398  return false;
399 }
400 
402  return false;
403 }
404 
406  return false;
407 }
408 
410  return false;
411 }
412 
414  return false;
415 }
416 
418  return false;
419 }
420 
422  return false;
423 }
424 
426  return false;
427 }
428 
430  return false;
431 }
432 
434  return false;
435 }
436 
438  return false;
439 }
440 
442  return false;
443 }
444 
446  return false;
447 }
448 
450  return false;
451 }
452 
454  return false;
455 }
456 
458  return false;
459 }
460 
462  return false;
463 }
464 
466  return false;
467 }
468 
470  return false;
471 }
472 
474  return false;
475 }
476 
478  return false;
479 }
480 
482  return false;
483 }
484 
486  return false;
487 }
488 
490  return false;
491 }
492 
494  return false;
495 }
496 
498  return false;
499 }
500 
502  return false;
503 }
504 
506  return false;
507 }
508 
510  return false;
511 }
512 
514  return false;
515 }
516 
518  return false;
519 }
520 
522  return false;
523 }
524 
526  return false;
527 }
528 
530  return false;
531 }
532 
534  return false;
535 }
536 
538  return false;
539 }
540 
542  return false;
543 }
544 
546  return false;
547 }
548 
550  return false;
551 }
552 
554  return false;
555 }
556 
558  return false;
559 }
560 
562  return false;
563 }
564 
566  return false;
567 }
568 
570  return false;
571 }
572 
574  return false;
575 }
576 
578  return false;
579 }
580 
582  return false;
583 }
584 
586  return false;
587 }
588 
590  return false;
591 }
592 
594  return false;
595 }
596 
598  return false;
599 }
600 
602  return false;
603 }
604 
606  return false;
607 }
608 
610  return false;
611 }
612 
614  return false;
615 }
616 
618  return false;
619 }
620 
622  return false;
623 }
624 
626  return false;
627 }
628 
630  return false;
631 }
632 
634  return false;
635 }
636 
638  return false;
639 }
640 
642  return false;
643 }
644 
646  return false;
647 }
648 
650  return false;
651 }
652 
654  return false;
655 }
656 
658  return false;
659 }
660 
662  return false;
663 }
664 
666  return false;
667 }
668 
670  return false;
671 }
672 
674  return false;
675 }
676 
678  return false;
679 }
680 
682  return false;
683 }
684 
686  return false;
687 }
688 
690  return false;
691 }
692 
694  return false;
695 }
696 
697 std::string NativeRawSymbol::getUnused() const {
698  return {};
699 }
uint32_t getAddressSection() const override
uint32_t getTypeId() const override
uint32_t getLiveRangeStartRelativeVirtualAddress() const override
bool hasManagedCode() const override
uint32_t getRegisterType() const override
bool wasInlined() const override
void getBackEndVersion(VersionInfo &Version) const override
uint32_t getBitPosition() const override
std::string getSymbolsFileName() const override
bool hasSetJump() const override
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
uint32_t getSlot() const override
int32_t getVirtualBasePointerOffset() const override
bool isReference() const override
uint32_t getNumberOfRegisterIndices() const override
bool hasFarReturn() const override
bool isIntrinsic() const override
PDB_UdtType
These values correspond to the UdtKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/wcstk66t.aspx.
Definition: PDBTypes.h:216
uint32_t getNumberOfRows() const override
uint32_t getRank() const override
PDB_BuiltinType getBuiltinType() const override
bool isHLSLData() const override
uint32_t getSubTypeId() const override
PDB_NameSearchFlags
Defines flags used for enumerating child symbols.
Definition: PDBTypes.h:92
uint32_t getVirtualTableShapeId() const override
bool hasStrictGSCheck() const override
bool isConstType() const override
PDB_CallingConv getCallingConvention() const override
uint64_t getLiveRangeLength() const override
std::string getUndecoratedNameEx(PDB_UndnameFlags Flags) const override
uint32_t getBaseSymbolId() const override
uint32_t getUpperBoundId() const override
bool hasEHa() const override
bool isMatrixRowMajor() const override
bool isPureVirtual() const override
bool hasPrivateSymbols() const override
bool isInterfaceUdt() const override
bool hasSecurityChecks() const override
bool hasInlineAttribute() const override
uint32_t getVirtualBaseOffset() const override
bool isRValueReference() const override
uint32_t getTextureSlot() const override
uint32_t getSamplerSlot() const override
uint32_t getNumberOfModifiers() const override
bool isRestrictedType() const override
bool isRefUdt() const override
uint32_t getSymIndexId() const override
uint32_t getStride() const override
bool isIndirectVirtualBaseClass() const override
PDB_UdtType getUdtKind() const override
PDB_Machine getMachineType() const override
uint32_t getVirtualBaseDispIndex() const override
bool isLTCG() const override
bool isOptimizedAway() const override
codeview::RegisterId getLocalBasePointerRegisterId() const override
void getDataBytes(SmallVector< uint8_t, 32 > &Bytes) const override
bool isCxxReturnUdt() const override
uint32_t getOemId() const override
bool getAddressTaken() const override
uint32_t getOemSymbolId() const override
bool hasCastOperator() const override
bool isUnreached() const override
This represents the &#39;GUID&#39; type from windows.h.
Definition: GUID.h:22
std::unique_ptr< IPDBEnumSymbols > findInlineFramesByRVA(uint32_t RVA) const override
std::unique_ptr< IPDBEnumSymbols > findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t RVA) const override
std::string getUndecoratedName() const override
bool isSplitted() const override
bool isFunction() const override
PDB_DataKind getDataKind() const override
uint32_t getOffsetInUdt() const override
void dump(raw_ostream &OS, int Indent) const override
bool isLocationControlFlowDependent() const override
uint32_t getRelativeVirtualAddress() const override
uint32_t getSizeInUdt() const override
uint64_t getVirtualAddress() const override
int32_t getThisAdjust() const override
uint32_t getClassParentId() const override
bool hasInterruptReturn() const override
PDB_Lang getLanguage() const override
bool isConstructorVirtualBase() const override
PDB_UndnameFlags
These values correspond to the flags that can be combined to control the return of an undecorated nam...
Definition: PDBTypes.h:252
uint32_t getSignature() const override
uint32_t getTimeStamp() const override
bool isSafeBuffers() const override
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
Definition: PDBTypes.h:162
bool isEditAndContinueEnabled() const override
uint32_t getArrayIndexTypeId() const override
std::string getLibraryName() const override
std::string getUnused() const override
bool getNoStackOrdering() const override
The instances of the Type class are immutable: once they are created, they are never changed...
Definition: Type.h:46
PDB_LocType getLocationType() const override
uint32_t getBaseDataOffset() const override
int32_t getOffset() const override
PDB_DataKind
These values correspond to the DataKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/b2x2t313.aspx.
Definition: PDBTypes.h:147
PDB_Cpu getPlatform() const override
Variant getValue() const override
bool isReturnValue() const override
uint32_t getTargetOffset() const override
std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type) const override
PDB_MemberAccess getAccess() const override
bool hasConstructor() const override
uint64_t getTargetVirtualAddress() const override
codeview::RegisterId getRegisterId() const override
bool isAcceleratorStubFunction() const override
uint32_t getCount() const override
uint32_t getLexicalParentId() const override
codeview::ThunkOrdinal getThunkOrdinal() const override
PDB_LocType
These values correspond to the LocationType enumeration, and are documented here: https://msdn...
Definition: PDBTypes.h:199
bool isUnalignedType() const override
bool hasInlAsm() const override
bool hasOverloadedOperator() const override
NativeRawSymbol(NativeSession &PDBSession, SymIndexId SymbolId)
uint32_t getNumberOfAcceleratorPointerTags() const override
std::string getSourceFileName() const override
std::unique_ptr< PDBSymbolTypeBuiltin > getVirtualBaseTableType() const override
SourceLanguage
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bw3aekw6.aspx.
Definition: CodeView.h:144
bool isDataAligned() const override
bool isPointerToMemberFunction() const override
bool isValueUdt() const override
bool isMSILNetmodule() const override
CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn...
Definition: CodeView.h:79
uint32_t getMemorySpaceKind() const override
bool isPacked() const override
bool hasNoReturnAttribute() const override
bool isSdl() const override
bool isNaked() const override
bool hasCustomCallingConvention() const override
bool isCode() const override
bool isAcceleratorGroupSharedLocal() const override
bool isMultipleInheritance() const override
uint32_t getUnmodifiedTypeId() const override
bool isManagedCode() const override
uint32_t getLiveRangeStartAddressOffset() const override
bool hasAlloca() const override
bool isPointerBasedOnSymbolValue() const override
uint32_t getBaseDataSlot() const override
bool isCVTCIL() const override
PDB_SymType getSymTag() const override
bool isAcceleratorPointerTagLiveRange() const override
uint32_t getCountLiveRanges() const override
uint32_t getTargetSection() const override
bool hasEH() const override
bool hasAssignmentOperator() const override
bool hasNoInlineAttribute() const override
uint32_t getUavSlot() const override
uint32_t getLowerBoundId() const override
bool isIntroVirtualFunction() const override
uint32_t getTargetRelativeVirtualAddress() const override
std::string getName() const override
bool hasFramePointer() const override
std::string getCompilerName() const override
bool hasCTypes() const override
uint32_t getNumberOfColumns() const override
uint32_t getToken() const override
bool hasNestedTypes() const override
ThunkOrdinal
These values correspond to the THUNK_ORDINAL enumeration.
Definition: CodeView.h:514
bool hasOptimizedCodeDebugInfo() const override
PDB_BuiltinType
These values correspond to the Basictype enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/4szdtzc3.aspx.
Definition: PDBTypes.h:228
std::string getObjectFileName() const override
bool hasDebugInfo() const override
bool isMSILCode() const override
bool isAggregated() const override
bool isScoped() const override
bool isVirtualInheritance() const override
bool isVolatileType() const override
void getFrontEndVersion(VersionInfo &Version) const override
uint64_t getLength() const override
bool hasSEH() const override
CallingConvention
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
Definition: CodeView.h:173
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:44
codeview::GUID getGuid() const override
bool isVirtual() const override
bool isHotpatchable() const override
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49
bool isCompilerGenerated() const override
uint32_t getLiveRangeStartAddressSection() const override
bool isSingleInheritance() const override
uint32_t getAge() const override
const uint64_t Version
Definition: InstrProf.h:867
bool isPointerToDataMember() const override
bool isStatic() const override
bool hasLongJump() const override
bool isVirtualBaseClass() const override
uint32_t getAddressOffset() const override
bool isNested() const override
PDB_MemberAccess
Definition: PDBTypes.h:275