diff options
author | Jason Molenda <jmolenda@apple.com> | 2016-05-24 21:46:23 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2016-05-24 21:46:23 +0000 |
commit | 94ddce2c0e27d40813086823487eaabcccd97b7b (patch) | |
tree | c7355e5547f0b4f7e51fdaf5d0d80dce24b10fcb /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 315e49d213565478fd2fbc6eeac896d21bc0bef6 (diff) | |
download | bcm5719-llvm-94ddce2c0e27d40813086823487eaabcccd97b7b.tar.gz bcm5719-llvm-94ddce2c0e27d40813086823487eaabcccd97b7b.zip |
In r268475 I made a change to ObjectFileMachO so that if it is
missing an LC_FUNCTION_STARTS section, we assume it has been
aggressively stripped (it is *very* unusual for anyone to strip
LC_FUNCTION_STARTS) so we disable assembly instruction unwind plan
creation.
Kernel extensions (kexts) don't have LC_FUNCTION_STARTS, but we
almost always have good symbol bounds just with the linker symbols.
So add an exception to allow assembly instruction unwind plan
creation for kexts even though they lack LC_FUNCTION_STARTS.
<rdar://problem/26453952>
llvm-svn: 270618
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions