llvm
Translating G-Machine source to LLVM IR
I\'m implementing a simple lazy functional language with LLVM as its backend in Haskell. I\'ve read two books written by Simon Peyton Jones (\"The implementation of functional programming languages\",[详细]
2023-03-24 06:16 分类:问答Why is llvm considered unsuitable for implementing a JIT?
Many dynamic languages implement (or want to implement) a JIT Compiler in order to speed up their execution times. Inevitably, someone from the peanut gallery asks why they don\'t use LLVM. The answer[详细]
2023-03-23 14:37 分类:问答How to get the return address on the stack on LLVM
I want to implement the Xor random canary, so I have to get the return address in the prologue and epilogue of the function.[详细]
2023-03-23 12:14 分类:问答LLVM 3.0 compiler error: cast of C pointer type to Objective-C pointer type 'id' requires a bridged cast
I am trying to compile old iPhone application project using new LLVM 3.0 compiler. I am getting this error:[详细]
2023-03-22 19:05 分类:问答If a subclass refers to a superclass ivar, synthesizing an unrelated property fails
Edit: I just noticed this other Stack Overflow question asking much the same thing: Why does a subclass @property with no corresponding ivar hide superclass ivars?[详细]
2023-03-22 16:31 分类:问答def-use chain in llvm
I extract Def_Use chain by following code in LLVM: for (Value::use_iterator i = F->use_begin(), e = F->use_end(); i != e; ++i)[详细]
2023-03-22 08:31 分类:问答Following instructions to build LLVM to the letter, but executables aren't produced
I am running 64-bit Linux and I am attempting to build the LLVM trunk. I follow the instructions to the letter, and invoke configure with the arguments I want, followed by make. Running make install l[详细]
2023-03-22 03:50 分类:问答Does LLVM have test coverage support in Xcode 4?
Does clang/llvm have support to produce test coverage files a开发者_开发问答s was the case with GCC which produced .gcov files. if yes how? I hear that XCode is still under NDA, but I can talk about L[详细]
2023-03-21 09:49 分类:问答clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am new to LLVM. I am using Clang 3.0 to execute c programs. I am using mandriva spring 2010. GCC version 4.4.1 is installed in the system.[详细]
2023-03-20 09:43 分类:问答llvm-gcc Error:Incompatible plugin
I am new to llvm.When I try to compile c programs using llvm-gcc i get following error: $ llvm-gcc test.c[详细]
2023-03-20 03:50 分类:问答