Displaying 4 results from an estimated 4 matches for "llvm_exece".
2012 Jul 07
2
[LLVMdev] Crash using the JIT on x86 but work on x64
...uot;
#include "llvm/Support/TargetSelect.h"
//#include <cerrno>
#include "llvm/DerivedTypes.h"
//#include "llvm/Support/DynamicLibrary.h"
#include "llvm/Linker.h"
//using namespace llvm;
llvm::LLVMContext* LLVM_Context;
static llvm::ExecutionEngine* LLVM_ExecE = 0;
llvm::Module* LLVM_Module;
llvm::Type* LLVM_pointerType;
bool loadChunk(void* chunk)
{
llvm::Module* m = (llvm::Module*)chunk;
std::string msg;
if (llvm::Linker::LinkModules(LLVM_Module, m, llvm::Function::ExternalLinkage, &msg))
{
printf("\nLINK ERROR - %s&q...
2012 Oct 19
0
[LLVMdev] Section specialization & COFF.
On Fri, Oct 19, 2012 at 2:55 AM, r4start <r4start at gmail.com> wrote:
> Hi all.
>
> While compiling next code
> @A = weak unnamed_addr constant { i32, i32, i32 } { i32 0, i32 0, i32 0 },
> section ".data"
> was discovered that llc ignores weak linkage if we emit it in COFF object.
> Attached patch solves this problem, please review.
>
> I found some
2012 Oct 19
2
[LLVMdev] Section specialization & COFF.
Hi all.
While compiling next code
@A = weak unnamed_addr constant { i32, i32, i32 } { i32 0, i32 0, i32 0
}, section ".data"
was discovered that llc ignores weak linkage if we emit it in COFF object.
Attached patch solves this problem, please review.
I found some similar tests in test/Objects/Inputs. Should I do something
like trivial.ll checking or there is a better way
to check
2012 Oct 22
2
[LLVMdev] Section specialization & COFF.
On 20/10/12 03:15, Michael Spencer wrote:
> On Fri, Oct 19, 2012 at 2:55 AM, r4start <r4start at gmail.com> wrote:
>> Hi all.
>>
>> While compiling next code
>> @A = weak unnamed_addr constant { i32, i32, i32 } { i32 0, i32 0, i32 0 },
>> section ".data"
>> was discovered that llc ignores weak linkage if we emit it in COFF object.
>>