<div dir="ltr">Hi,<div><br></div><div>I'd like to have access to a number of methods in DynamicLoaderPOSIXDYLD from the new class I'm working on, DynamicLoaderGDBServer. These methods have no dependency on DynamicLoaderPOSIXDYLD, with two exceptions noted below, so I'm proposing to move them into the base class DynamicLoader.</div>
<div><br>The two exceptions are the methods UpdateLoadedSections and UnloadSections; in each case there is one line of code that is special to the derived class, and the rest of the code in the method is generic to the base class. In each case I created a XXXCommon() method on the base class with the common code, and created a virtual method XXX() on the base class, which in DynamicLoaderPOSIXDYLD will call the common code and then execute its one line of specialized code.</div>
<div><br></div><div>This patch is intended to have no functional difference whatsoever. All 276 tests that are enabled for Ubuntu pass successfully.</div><div><br></div><div>Thanks,</div><div> Steve</div><div><br></div>
<div><br></div></div>