[llvm] [ORC] Use __unw_add_dynamic_eh_frame_section/__unw_remove_dynamic_eh_ frame_section in RegisterEHFrames.cpp (PR #212260)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 05:48:58 PDT 2026


================
@@ -122,6 +127,14 @@ Error walkLibunwindEHFrameSection(const char *const SectionStart,
 
 Error registerEHFrameSection(const void *EHFrameSectionAddr,
                              size_t EHFrameSectionSize) {
+#if defined(HAVE_REGISTER_FRAME) && defined(HAVE_DEREGISTER_FRAME) &&          \
----------------
mkovacevic99 wrote:

Okay, I will go with weak. Not sure regarding if they use libunwind and if not I will go with the approach to exclude

https://github.com/llvm/llvm-project/pull/212260


More information about the llvm-commits mailing list