search for: llvm_exec

Displaying 4 results from an estimated 4 matches for "llvm_exec".

Did you mean: 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&...
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.
...| _aaa String Table Size = 0x0 bytes Summary 64 .debug$S 2F .drectve 4 .xdata -------------- next part -------------- Microsoft (R) COFF/PE Dumper Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file d:\Work\analysis\llvm_exec\1.o File Type: COFF OBJECT FILE HEADER VALUES 14C machine (x86) 1 number of sections 50851C8B time date stamp Mon Oct 22 14:14:35 2012 40 file pointer to symbol table 3 number of symbols 0 size of optional header...