summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-08-18 06:53:34 +0000
committerJason Molenda <jmolenda@apple.com>2012-08-18 06:53:34 +0000
commit8eba46c68a8ba1bb1eef1359c57a71400162d5a2 (patch)
treefbd734e159daa81fcb7cbb4dd67f3569a4c9d36e /llvm/lib/CodeGen/MachineFunction.cpp
parent0128f9bad72cca9dfa9f80932b12a1e65ffb9abe (diff)
downloadbcm5719-llvm-8eba46c68a8ba1bb1eef1359c57a71400162d5a2.tar.gz
bcm5719-llvm-8eba46c68a8ba1bb1eef1359c57a71400162d5a2.zip
Some eh_frame unwind instructions will define a return address register;
when you want to find the caller's saved pc, you look up the return address register and use that. On arm, for instance, this would be the contents of the link register (lr). If the eh_frame CIE defines an RA, record that fact in the UnwindPlan. When we're finding a saved register, if it's the pc, lok for the location of the return address register instead. <rdar://problem/12062310> llvm-svn: 162167
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud