summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2016-05-20 00:16:14 +0000
committerJason Molenda <jmolenda@apple.com>2016-05-20 00:16:14 +0000
commit1ebb2c92f2635a7d4182e3b3cb47abcaf44cc572 (patch)
treed3b5e63e75de574affbe2ae13f94fd72d86d2553 /llvm/lib/CodeGen
parentdcccd929d103e124069931f9aaed258bacc8e180 (diff)
downloadbcm5719-llvm-1ebb2c92f2635a7d4182e3b3cb47abcaf44cc572.tar.gz
bcm5719-llvm-1ebb2c92f2635a7d4182e3b3cb47abcaf44cc572.zip
Some changes to prevent searching down the stack for saved register
values for the pc or return address register. On ios with arm64 and a binary that has multiple functions without individual symbol boundaries, we end up with an assembly profile unwind plan that says lr=<same> - that is, the link register contents are unmodified from the caller's value. This gets the unwinder in a loop. When we're off the 0th frame, we never want to look to a caller for a pc or return-address register value. Add checks to ReadGPRValue and ReadRegister to prevent both the pc and ra register values from recursing. If this causes problems with backtraces on android, let me know or back it out and I'll look into it -- but I think these are straightforward and don't expect problems. <rdar://problem/24610365> llvm-svn: 270162
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud