21 std::unique_ptr<IPDBRawSymbol> DataSymbol)
31 if (
auto RVA =
RawSymbol->getRelativeVirtualAddress())
43 if (
auto FirstLine = Lines->getNext())
44 return FirstLine->getCompilandId();
49 if (DataSection == 0) {
50 if (
auto RVA =
RawSymbol->getRelativeVirtualAddress())
56 while (
auto Section = SecContribs->getNext()) {
57 if (
Section->getAddressSection() == DataSection &&
58 Section->getAddressOffset() <= DataOffset &&
60 return Section->getCompilandId();
64 auto LexParentId =
RawSymbol->getLexicalParentId();
70 LexParentId = LexParent->getRawSymbol().getLexicalParentId();
virtual std::unique_ptr< IPDBEnumLineNumbers > findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const =0
IPDBSession defines an interface used to provide a context for querying debug information from a debu...
Compute iterated dominance frontiers using a linear time algorithm.
std::unique_ptr< IPDBRawSymbol > RawSymbol
PDBSymbolData(const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > DataSymbol)
std::unique_ptr< IPDBEnumLineNumbers > getLineNumbers() const
virtual std::unique_ptr< IPDBEnumLineNumbers > findLineNumbersBySectOffset(uint32_t Section, uint32_t Offset, uint32_t Length) const =0
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
uint32_t getCompilandId() const
virtual std::unique_ptr< IPDBEnumSectionContribs > getSectionContribs() const =0
virtual std::unique_ptr< PDBSymbol > getSymbolById(uint32_t SymbolId) const =0
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
virtual bool addressForRVA(uint32_t RVA, uint32_t &Section, uint32_t &Offset) const =0
virtual void dump(const PDBSymbolAnnotation &Symbol)
const IPDBSession & Session
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())