diff options
| author | Jason Molenda <jmolenda@apple.com> | 2012-08-18 06:53:34 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2012-08-18 06:53:34 +0000 |
| commit | 8eba46c68a8ba1bb1eef1359c57a71400162d5a2 (patch) | |
| tree | fbd734e159daa81fcb7cbb4dd67f3569a4c9d36e /llvm/lib/Object/MachOObjectFile.cpp | |
| parent | 0128f9bad72cca9dfa9f80932b12a1e65ffb9abe (diff) | |
| download | bcm5719-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/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

