summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-09-02 23:04:01 +0000
committerJason Molenda <jmolenda@apple.com>2014-09-02 23:04:01 +0000
commit5de2e7cafb2053baf46abd6e8801e8958148c738 (patch)
tree17a6f76e9eb486c2ddf46cacb4012e2a4dbebe52 /llvm/lib/Transforms
parent8d1590dc4b4bb26572df9386a771a14c7d8dac9d (diff)
downloadbcm5719-llvm-5de2e7cafb2053baf46abd6e8801e8958148c738.tar.gz
bcm5719-llvm-5de2e7cafb2053baf46abd6e8801e8958148c738.zip
RegisterContextLLDB::InitializeNonZerothFrame had a bit of code to
detct unwind loops but there was a code path through there (using architecture default unwind plans) that didn't do the check, and could end up with an infinite loop unwind. Move that code into a separate method and call it from both places where it is needed. Also remove the use of ABI::FunctionCallsChangeCFA in that check. I thought about it a lot and none of the architecutres that we're supporting today can have a looping CFA. Since the unwinder isn't using ABI::FunctionCallsChangeCFA() and ABI::StackUsesFrames(), and the unwinder was the only reason those methods exists, I removed them from the ABI and all its plugins. <rdar://problem/17364005> llvm-svn: 216992
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud