llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld
Harald van Dijk 957334382c
[ExecutionEngine] Check for libunwind before calling __register_frame
libgcc and libunwind have different flavours of __register_frame. Both
 flavours are already correctly handled, except that the code to handle
the libunwind flavour is guarded by __APPLE__. This change uses the
presence of __unw_add_dynamic_fde in libunwind instead to detect whether
libunwind is used, rather than hardcoding it as Apple vs. non-Apple.

Fixes PR44074.

Thanks to Albert Jin <albert.jin@gmail.com> and Chris Schafmeister
<chris.schaf@verizon.net> for identifying the problem.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D106129
2021-08-15 13:35:53 +01:00
..
Targets [RuntimeDyld][COFF] Report fatal error on error, rather than emiting diagnostic. 2020-10-06 15:16:29 -07:00
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
JITSymbol.cpp [ORC] Honor linker private global prefix on symbol names. 2020-06-15 10:28:36 -07:00
RTDyldMemoryManager.cpp [ExecutionEngine] Check for libunwind before calling __register_frame 2021-08-15 13:35:53 +01:00
RuntimeDyld.cpp [RuntimeDyld] Add allowStubs/allowZeroSyms 2021-05-18 11:35:27 -07:00
RuntimeDyldCOFF.cpp
RuntimeDyldCOFF.h
RuntimeDyldChecker.cpp [RuntimeDyldChecker] Delete comparision of integers of different signs 2021-08-03 11:38:25 +08:00
RuntimeDyldCheckerImpl.h
RuntimeDyldELF.cpp BPF: Add more relocation kinds 2021-05-25 08:19:13 -07:00
RuntimeDyldELF.h
RuntimeDyldImpl.h [RuntimeDyld] Fixed buffer overflows with absolute symbols 2021-04-26 19:24:03 +02:00
RuntimeDyldMachO.cpp
RuntimeDyldMachO.h