35 if (
auto FirstLine = Lines->getNext())
36 return FirstLine->getCompilandId();
41 if (DataSection == 0) {
42 if (
auto RVA =
RawSymbol->getRelativeVirtualAddress())
43 Session.addressForRVA(RVA, DataSection, DataOffset);
47 if (
auto SecContribs =
Session.getSectionContribs()) {
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();
56 auto LexParentId =
RawSymbol->getLexicalParentId();
57 while (
auto LexParent =
Session.getSymbolById(LexParentId)) {
62 LexParentId = LexParent->getRawSymbol().getLexicalParentId();