[lld] r219655 - [mach-o] Add Pass to create are shim Atoms for ARM interworking.

Shankar Easwaran shankare at codeaurora.org
Mon Oct 20 10:06:22 PDT 2014


On 10/20/2014 11:46 AM, Nick Kledzik wrote:
> On Oct 18, 2014, at 8:13 PM, Shankar Easwaran <shankare at codeaurora.org> wrote:
>
>> Hi Nick,
>>
>> This patch doesnot seem to reuse shim's right ?
> It does re-use them.  The pass has used _targetToShim to maintain a map of shim atoms produced for each target atom.  If two locations branch to the same target and both need a shim, the same shim is re-used.
Ah ok. I couldnt find on where does it check if the shim that it created 
before is still in range for it to be reused ? Do you do this in a 
separate pass ?

Thanks

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-commits mailing list