Changeset 48398 in vbox for trunk/src/VBox/Runtime/common/dbg
- Timestamp:
- Sep 10, 2013 8:34:22 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88834
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp
r47824 r48398 464 464 RTLISTANCHOR CompileUnitList; 465 465 466 /** Set if we have to use link addresses because the module does not have 467 * fixups (mach_kernel). */ 468 bool fUseLinkAddress; 466 469 /** This is set to -1 if we're doing everything in one pass. 467 470 * Otherwise it's 1 or 2: … … 1504 1507 } 1505 1508 1509 if (pThis->fUseLinkAddress) 1510 return pThis->pImgMod->pImgVt->pfnLinkAddressToSegOffset(pThis->pImgMod, LinkAddress, piSeg, poffSeg); 1506 1511 return pThis->pImgMod->pImgVt->pfnRvaToSegOffset(pThis->pImgMod, LinkAddress, piSeg, poffSeg); 1507 //return pThis->pImgMod->pImgVt->pfnLinkAddressToSegOffset(pThis->pImgMod, LinkAddress, piSeg, poffSeg);1508 1512 } 1509 1513 … … 4698 4702 pThis->pImgMod = pMod; 4699 4703 RTListInit(&pThis->CompileUnitList); 4704 /** @todo better fUseLinkAddress heuristics! */ 4705 if ( (pMod->pszDbgFile && strstr(pMod->pszDbgFile, "mach_kernel")) 4706 || (pMod->pszImgFile && strstr(pMod->pszImgFile, "mach_kernel")) ) 4707 pThis->fUseLinkAddress = true; 4700 4708 4701 4709 #ifdef RTDBGMODDWARF_WITH_MEM_CACHE
Note:
See TracChangeset
for help on using the changeset viewer.