| Server IP : 185.216.8.13 / Your IP : 216.73.216.159 Web Server : Apache System : Linux webhost-vie2.sitetide.com 4.18.0-553.156.1.el8_10.x86_64 #1 SMP Mon Aug 17 17:52:57 UTC 2026 x86_64 User : medicalkn ( 9986) PHP Version : 8.2.33 Disable Function : syslog MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/proc/thread-self/root/usr/pgsql-17/include/server/jit/ |
Upload File : |
/* * A small header than can be included by backported LLVM code or PostgreSQL * code, to control conditional compilation. */ #ifndef LLVMJIT_BACKPORT_H #define LLVMJIT_BACKPORT_H #include <llvm/Config/llvm-config.h> /* * Pre-LLVM 22 RuntimeDyld can produce code that crashes on large memory ARM * systems, because llvm::SectionMemoryManager allocates multiple pieces of * memory that can be placed too far apart for the generated code. See * src/backend/jit/llvm/SectionMemoryManager.cpp for the patched replacement * class llvm::backport::SectionMemoryManager that we use as a workaround. * This header controls whether we use it. * * We have adjusted it to compile against a range of LLVM versions, but not * further back than 12 for now. */ #if defined(__aarch64__) && LLVM_VERSION_MAJOR > 11 && LLVM_VERSION_MAJOR < 22 #define USE_LLVM_BACKPORT_SECTION_MEMORY_MANAGER #endif #endif