HomePhabricator

[RenderScript] Fix reduction argument printing

Authored by ldrumm on Nov 9 2016, 11:20 AM.

Description

[RenderScript] Fix reduction argument printing

When placing function name breakpoints on RenderScript Reduction kernel
functions, we were not skipping over the function prologue meaning that
inspection of the arguments could be garbled as the function was not finished
setting up the stack/registers.

In
122fe8f
Aidan added the SkipPrologue function that allows us to trivially fix up the
kernel's functions' resolved addresses, falling gracefully back to the old
behaviour if we don't know how to handle the prologue or can't resolve its
size.

llvm-svn: 286387

Details

Committed
ldrummNov 9 2016, 11:20 AM
Parents
rG6b46a0d1e89a: [SCEV] Refactor out a useful pattern; NFC
Branches
Unknown
Tags
Unknown