18 CComPtr<IDiaSectionContrib> DiaSection)
19 : Session(PDBSession), Section(DiaSection) {}
22 CComPtr<IDiaSymbol> Symbol;
23 if (FAILED(Section->get_compiland(&Symbol)))
26 auto RawSymbol = std::make_unique<DIARawSymbol>(Session, Symbol);
27 return PDBSymbol::createAs<PDBSymbolCompiland>(Session, std::move(RawSymbol));
30template <
typename ArgType>
33 HRESULT (__stdcall IDiaSectionContrib::*Method)(ArgType *)) {
35 if (S_OK == (Section->*Method)(&
Value))
36 return static_cast<ArgType
>(
Value);
55 &IDiaSectionContrib::get_relativeVirtualAddress);
80 &IDiaSectionContrib::get_uninitializedData);
ArgType PrivateGetDIAValue(IDiaFrameData *FrameData, HRESULT(__stdcall IDiaFrameData::*Method)(ArgType *))
LLVM Value Representation.
bool isShared() const override
uint32_t getLength() const override
bool isReadable() const override
bool isNotPaged() const override
uint32_t getCompilandId() const override
bool hasInitializedData() const override
uint64_t getVirtualAddress() const override
bool hasUninitializedData() const override
DIASectionContrib(const DIASession &PDBSession, CComPtr< IDiaSectionContrib > DiaSection)
uint32_t getAddressOffset() const override
bool isRemoved() const override
uint32_t getRelocationsCrc32() const override
bool isExecutable() const override
uint32_t getDataCrc32() const override
uint32_t getAddressSection() const override
uint32_t getRelativeVirtualAddress() const override
bool isDiscardable() const override
bool hasCode16Bit() const override
bool isNotCached() const override
bool hasComdat() const override
std::unique_ptr< PDBSymbolCompiland > getCompiland() const override
bool isWritable() const override
bool hasCode() const override
This is an optimization pass for GlobalISel generic memory operations.