Displaying 5 results from an estimated 5 matches for "x86_32_jit".
2012 Sep 24
2
[LLVMdev] JIT problem with thread local global variable
.../140.113.166.39/llvm-3.1.src/HTML/S/8340.html#L442>::allocateThreadLocalMemory
<http://140.113.166.39/llvm-3.1.src/HTML/R/13517.html>(size_t
<http://140.113.166.39/llvm-3.1.src/HTML/D/21902.html> size
<http://140.113.166.39/llvm-3.1.src/HTML/Y/37476.html>) *{*** *#if*
*defined*(X86_32_JIT
<http://140.113.166.39/llvm-3.1.src/HTML/Y/27302.html>) &&
!*defined*(__APPLE__
<http://140.113.166.39/llvm-3.1.src/HTML/Y/27623.html>) &&
!*defined*(_MSC_VER
<http://140.113.166.39/llvm-3.1.src/HTML/Y/27566.html>) TLSOffset
<http://140.113.166.39/llvm-3.1.src...
2012 Sep 24
0
[LLVMdev] JIT problem with thread local global variable
...m-3.1.src/HTML/S/8340.html#L442>::allocateThreadLocalMemory <http://140.113.166.39/llvm-3.1.src/HTML/R/13517.html>(size_t <http://140.113.166.39/llvm-3.1.src/HTML/D/21902.html> size <http://140.113.166.39/llvm-3.1.src/HTML/Y/37476.html>)/{/
> ////
> /#if/ *defined*(X86_32_JIT <http://140.113.166.39/llvm-3.1.src/HTML/Y/27302.html>) && !*defined*(__APPLE__ <http://140.113.166.39/llvm-3.1.src/HTML/Y/27623.html>) && !*defined*(_MSC_VER <http://140.113.166.39/llvm-3.1.src/HTML/Y/27566.html>)
> TLSOffset <http://140.113.166.39/l...
2009 Aug 18
0
[LLVMdev] Build issues on Solaris
Hello, Nathan
> or if it should be a configure test, which might be safer. Are there
> any x86 platforms (other than apple) that don't need PLT-indirect calls?
Yes, mingw. However just tweaking the define is not enough - we're not
loading address of GOT into ebx before the call (on 32 bit ABIs) thus
the call will be to nowhere.
--
With best regards, Anton Korobeynikov
Faculty of
2009 Aug 25
2
[LLVMdev] Build issues on Solaris
...ed version with #ifs seemed to be
pretty hard to follow.
Cheers,
Nathan
Index: X86/X86JITInfo.cpp
===================================================================
--- X86/X86JITInfo.cpp (revision 79974)
+++ X86/X86JITInfo.cpp (working copy)
@@ -180,15 +181,148 @@
# endif
#elif defined (X86_32_JIT)
# ifndef _MSC_VER
+
+#if defined(__PIC__) && __PIC__ && defined(NEED_PLT_CALL)
void X86CompilationCallback(void);
asm(
".text\n"
".align 8\n"
".globl " ASMPREFIX "X86CompilationCallback\n"
+ ".local .local_...
2009 Aug 11
6
[LLVMdev] Build issues on Solaris
Hi all,
I've encountered a couple of minor build issues on Solaris that
have crept in since 2.5, fixes below:
1. In lib/Target/X86/X86JITInfo.cpp, there is:
// Check if building with -fPIC
#if defined(__PIC__) && __PIC__ && defined(__linux__)
#define ASMCALLSUFFIX "@PLT"
#else
#define ASMCALLSUFFIX
#endif
Which causes a link failure due to the non-PLT