being used was in resolve_redir(), and due to the way resolve_redir()
is called, the involved test was always failing anyway. So we lose
nothing by removing it except some complexity -- there is no longer a
circularity between Segments and SegInfos.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4019
struct _SegInfo {
struct _SegInfo* next; /* list of SegInfos */
- Segment *seg; /* first segment we're mapped out of */
Int ref;
/* Description of the mapped segment. */
si->cfisi_size = si->cfisi_used = 0;
si->cfisi_minaddr = si->cfisi_maxaddr = 0;
- si->seg = seg;
-
si->stab_typetab = NULL;
si->plt_start = si->plt_size = 0;
Bool resolved;
vg_assert(si != NULL);
- vg_assert(si->seg != NULL);
-
- /* no redirection from Valgrind segments */
- if (si->seg->flags & SF_VALGRIND)
- return False;
resolved = from_resolved(redir);
vg_assert(!resolved);