diff options
author | Lang Hames <lhames@gmail.com> | 2019-08-27 15:50:32 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2019-08-27 15:50:32 +0000 |
commit | c48f1f6da690b721a211f6d5083b6a929b58e803 (patch) | |
tree | 1f6d54f630a619ad89e4e1dcdff084b91c2df88e /clang/lib/Frontend/DependencyFile.cpp | |
parent | f260630e8f4c07613c11ea9f4b884e58c9683f03 (diff) | |
download | llvm-c48f1f6da690b721a211f6d5083b6a929b58e803.zip llvm-c48f1f6da690b721a211f6d5083b6a929b58e803.tar.gz llvm-c48f1f6da690b721a211f6d5083b6a929b58e803.tar.bz2 |
[JITLink][ORC] Track eh-frame section size for registration/deregistration.
On MachO, processing of the eh-frame section should stop if the end of the
__eh_frame section is reached, regardless of whether or not there is a null CFI
length field at the end of the section. This patch tracks the eh-frame section
size and threads it through the appropriate APIs so that processing can be
terminated correctly.
No testcase yet: This patch is all API plumbing (rather than modification of
linked memory) which the existing infrastructure does not provide a way of
testing. Committing without a testcase until I have an idea of how to write
one.
llvm-svn: 370074
Diffstat (limited to 'clang/lib/Frontend/DependencyFile.cpp')
0 files changed, 0 insertions, 0 deletions