35 if (
auto FirstLine = Lines->getNext())
36 return FirstLine->getCompilandId();
41 if (DataSection == 0) {
48 while (
auto Section = SecContribs->getNext()) {
49 if (Section->getAddressSection() == DataSection &&
50 Section->getAddressOffset() <= DataOffset &&
51 (Section->getAddressOffset() + Section->getLength()) > DataOffset)
52 return Section->getCompilandId();
62 LexParentId = LexParent->getRawSymbol().getLexicalParentId();
virtual uint32_t getRelativeVirtualAddress() const =0
virtual uint32_t getAddressSection() const =0
virtual SymIndexId getLexicalParentId() const =0
virtual uint64_t getLength() const =0
virtual uint32_t getAddressOffset() const =0
virtual std::unique_ptr< IPDBEnumSectionContribs > getSectionContribs() const =0
virtual std::unique_ptr< IPDBEnumLineNumbers > findLineNumbersBySectOffset(uint32_t Section, uint32_t Offset, uint32_t Length) const =0
virtual std::unique_ptr< IPDBEnumLineNumbers > findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const =0
virtual bool addressForRVA(uint32_t RVA, uint32_t &Section, uint32_t &Offset) const =0
virtual std::unique_ptr< PDBSymbol > getSymbolById(SymIndexId SymbolId) const =0
virtual void dump(const PDBSymbolAnnotation &Symbol)
std::unique_ptr< IPDBEnumLineNumbers > getLineNumbers() const
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
uint32_t getCompilandId() const
const IPDBSession & Session
IPDBRawSymbol * RawSymbol
This is an optimization pass for GlobalISel generic memory operations.