llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld
David Tenty ae032e2714 [CMake][ExecutionEngine] add HAVE_(DE)REGISTER_FRAME as a config.h macros
The macro HAVE_EHTABLE_SUPPORT is used by parts of ExecutionEngine to tell __register_frame/__deregister_frame is available to register the
FDE for a generated (JIT) code. It's currently set by a slowly growing set of macro tests in the respective headers, which is updated now and then when it fails to link on some platform or another due to the symbols being missing (see for example https://bugs.llvm.org/show_bug.cgi?id=5715).

This change converts the macro in two HAVE_(DE)REGISTER_FRAME config.h macros (like most of the other HAVE_* macros) and set's them based on whether CMake can actually find a definition for these symbols to link to at configuration time.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D87114
2020-11-10 13:09:44 -05:00
..
Targets [RuntimeDyld][COFF] Report fatal error on error, rather than emiting diagnostic. 2020-10-06 15:16:29 -07:00
CMakeLists.txt
JITSymbol.cpp [ORC] Honor linker private global prefix on symbol names. 2020-06-15 10:28:36 -07:00
LLVMBuild.txt [RuntimeDyld] Add dependence on Core. 2020-06-15 11:14:27 -07:00
RTDyldMemoryManager.cpp [CMake][ExecutionEngine] add HAVE_(DE)REGISTER_FRAME as a config.h macros 2020-11-10 13:09:44 -05:00
RuntimeDyld.cpp [RTDYLD] support absolute relocations where needed 2020-11-06 14:08:59 -05:00
RuntimeDyldCOFF.cpp [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
RuntimeDyldCOFF.h [RuntimeDyld][COFF] Build stubs for COFF dllimport symbols. 2020-03-10 16:08:40 -07:00
RuntimeDyldChecker.cpp std::isspace -> llvm::isSpace (where locale should be ignored) 2020-05-02 15:36:04 +02:00
RuntimeDyldCheckerImpl.h
RuntimeDyldELF.cpp RuntimeDyldELF: report_fatal_error instead of asserting for unimplemented relocations (PR46816) 2020-07-31 20:06:47 +02:00
RuntimeDyldELF.h RuntimeDyldELF.h - make the object namespace explicit for ELFObjectFileBase. NFC. 2020-04-23 13:52:49 +01:00
RuntimeDyldImpl.h [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
RuntimeDyldMachO.cpp
RuntimeDyldMachO.h