This overload can be used to support cases when there are multiple sections with the same name.
In that case searching by section name doesn't work.
Details
Details
- Reviewers
lhames
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Eugene,
Thanks for re-submitting this via Phab.
The direction is good, but this highlights a deficiency in the current code that will require a bit more work to fix: The LocalSections map should really be attached to the LoadedObjectInfo instance, rather than the RuntimeDyldImpl class, as SectionRefs are not globally unique. (Clashes will be rare in practice, but probably very confusing when they crop up).
I'm working on a fix for this right now - I hope to have something for you today or tomorrow.
Cheers,
Lang.