Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] JIT execution engine & shadow stack"
2015 Apr 01
2
[LLVMdev] unsupported GC: shadow-stack when using MCJIT
This is also happening when using the C++ APIs. It looks like an MCJIT and
SetGC interaction.
I'm lost on how to proceed further.
On Tue, Mar 31, 2015 at 10:42 PM, Hayden Livingston <halivingston at gmail.com>
wrote:
> The erlang was a typo, I was trying things out.
>
> I've updated the bug with a C program, which exhibits the problem.
>
> To answer your question,
2015 Apr 01
2
[LLVMdev] unsupported GC: shadow-stack when using MCJIT
On 03/31/2015 09:52 PM, Philip Reames wrote:
>
>> Maybe it is because I'm using a package that makes an LLVM DLL for
>> Windows.
>>
>> The only reason why it show that error is if the static constructor
>> for it didn't run, right? And I don't know why it would not run.
> I need to take a closer look at your bug report before I can really
>
2010 Aug 12
1
[LLVMdev] error when trying to create a JIT execution engine "Interpreter has not been linked in"
I've been following this guide: http://llvm.org/docs/tutorial/LangImpl4.html
and am getting an error when trying to create an execution engine. When
running this code:
executionEngine = llvm::EngineBuilder(module).setErrorStr(&errStr).create();
errStr contains: "Interpreter has not been linked in." I'm using this
command to build:
g++ -g errors.o lexer.o parser.o lang.o
2011 Jan 19
0
[LLVMdev] Shadow Stack
Hi Everyone,
I've managed to create a small example that reproduces the error that
I'm seeing when generating code, or running the interpreter:
-----------------------------------------------------------------------
@llvm_gc_root_chain = global i8* null
declare i8* @malloc(i32)
declare void @llvm.gcroot(i8**, i8*) nounwind
define i32 @main() gc "shadow-stack" {
%value =
2012 Dec 17
1
[LLVMdev] Execution Engine issue with composite module
Hi,
I'm having an issue with the below modules.
I build module X, then module Y (which has a dependency on X). I've
added an external declaration on module Y of the functions defined in
X.
i also link the except-handling module, but i think it is peripheral
to the issue
i like all the modules together in a single module called
executableModule. I link them with the method:
2008 May 27
0
[LLVMdev] JIT question: Inner workings of getPointerToFunction()
Hi,
I was just reading through the Kaleidoscope tutorial (which is greatly
written and understandable, thanks! ) hoping to get some glimpse about the
workings of the JIT and the optimizations that are done at run time. I am
curious as to how LLVM's JIT dynamically generates native code from bit code
at run time and runs that code (I think my question is also somewhat more
general in the sense
2007 Jul 27
0
[LLVMdev] Forcing JIT of all functions before execution starts
(I have verified that just going through all the Functions in the Module
and calling getPointerToFunction for each in turn actually seems to work
-- I just wanted to make sure that this is sensible)
Sarah
2008 May 27
1
[LLVMdev] JIT question: Inner workings of getPointerToFunction()
Hi,
I was just reading through the Kaleidoscope tutorial (which is greatly
written and understandable, thanks! ) hoping to get some glimpse about the
workings of the JIT and the optimizations that are done at run time. I am
curious as to how LLVM's JIT dynamically generates native code from bit code
at run time and runs that code (I think my question is also somewhat more
general in the sense
2014 Jun 29
2
[LLVMdev] Wrong behavior modifying and executing llvm::Function with JIT Engine
getFunction() -> getPointerToFunction()
2014-06-29 6:40 GMT+03:00 Yaron Keren <yaron.keren at gmail.com>:
> Hi Adrian,
>
> freeMachineCodeForFunction is required but recompileAndLinkFunction is
> not,
> you can use getFunction() always.
>
> Try to M->dump() calling M->getFunction() where M is the Module *.
> See if how the changes appear in the module
2010 May 13
2
[LLVMdev] Handling of thread_local globals by llc -march=cpp
Thanks for the quick reply and fix. Now it just means I have to hunt further in exploring why, in my simple test program, replacing the following line of code:
GlobalVariable* global = new GlobalVariable(*MyModule,
IntegerType::get(getGlobalContext(), 32), false, GlobalValue::ExternalLinkage, 0, "global");
with the following line of code:
GlobalVariable* global = new
2009 Feb 14
2
[LLVMdev] problem with execution engine on windows
Dear llvm-dev,
First of all I'd like to thank LLVM developers for doing a great job!
I am trying to use LLVM libraries on Windows using Visual Studio environment and everything works very smoothly until it comes to the execution engine. I construct a module and obtain a pointer to the function in it using ExecutionEngine::getPointerToFunction but calling this function (after appropriate
2009 Nov 01
1
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
On 2009-11-01 08:40, Jeffrey Yasskin wrote:
> 2009/10/30 Török Edwin <edwintorok at gmail.com>:
>
>> On 2009-10-29 23:55, Jeffrey Yasskin wrote:
>>
>>> On Thu, Oct 29, 2009 at 2:30 PM, Nicolas Geoffray
>>> <nicolas.geoffray at lip6.fr> wrote:
>>>
>>>
>>>> Hi Jeffrey,
>>>>
>>>>
2015 Apr 01
2
[LLVMdev] unsupported GC: shadow-stack when using MCJIT
Thanks, Philip. I have a sinking feeling it's not your change, but could
you share the commit and so I can try it out locally?
Bug: https://llvm.org/bugs/show_bug.cgi?id=23095
The reason I think it is not your change is because I tried a shared
library build of LLVM 3.5.1 and that also failed with this error. Maybe it
is because I'm using a package that makes an LLVM DLL for Windows.
2009 Nov 01
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
2009/10/30 Török Edwin <edwintorok at gmail.com>:
> On 2009-10-29 23:55, Jeffrey Yasskin wrote:
>> On Thu, Oct 29, 2009 at 2:30 PM, Nicolas Geoffray
>> <nicolas.geoffray at lip6.fr> wrote:
>>
>>> Hi Jeffrey,
>>>
>>> Jeffrey Yasskin wrote:
>>>
>>>> Cool, I'll start implementing it.
>>>>
>>>>
2013 Apr 24
0
help with execution of 'embarrassingly parallel' problem using foreach, doParallel on a windows system
Dear R helpers,
I have what another member on this forum described as
an embarrassingly parallel problem. I am trying to fit models on subsets of
some data based on unique combinations of two id factors in the dataset.
Total number of combinations is 30^5, and this takes a long time. So, I
would like fit models for each of the datasets produced by subsetting on
the unique combinations, splitting
2009 Jun 29
0
[LLVMdev] JIT question about resolving unknown function calls
On Jun 29, 2009, at 3:37 AM, Carter Cheng wrote:
>
> My understanding is that the JIT system allows during the running of
> the system resolution of call instructions to undefined functions to
> be trapped and then patched with the correct address (is this true?).
Yes, see:
http://llvm.org/docs/tutorial/LangImpl4.html#jit
> The question I have is does the current system also
2013 Jun 21
0
[LLVMdev] is this a bug of llvm::JIT::getPointerToBasicBlock?
I am reading the implementation of llvm::JIT::getPointerToBasicBlock and I
think there might be a bug in it.
'getPointerToBasicBlock' first calls 'getPointerToFunction' and then try to
look up the map returned by 'getBasicBlockAddressMap(locked)' to get the
pointer of the BasicBlock.
'getPointerToFunction' calls 'runJITOnFunctionUnlocked' which in turn
2011 Nov 25
2
[LLVMdev] JIT: Inlining introduces intrinsics.
On 11/24/2011 05:52 PM, Óscar Fuentes wrote:
> Óscar Fuentes<ofv at wanadoo.es> writes:
>
>>>> If I activate the Inliner pass:
>>>>
>>>> Builder.Inliner = createFunctionInliningPass(Threshold);
>>>>
>>>> this is the result:
>>>>
>>>> LLVM ERROR: Program used external function
2009 Oct 30
2
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
On 2009-10-29 23:55, Jeffrey Yasskin wrote:
> On Thu, Oct 29, 2009 at 2:30 PM, Nicolas Geoffray
> <nicolas.geoffray at lip6.fr> wrote:
>
>> Hi Jeffrey,
>>
>> Jeffrey Yasskin wrote:
>>
>>> Cool, I'll start implementing it.
>>>
>>>
>> Great! Thanks.
>>
>> Just to clarify things: on my end, it
2011 Feb 11
0
[LLVMdev] Unit testing with random input using JIT
If you know the prototype of f, you can just use getPointerToFunction
and cast the result:
// Let F be an llvm::Function* referring to 'f'.
void (*f)(int*) = (void (*)(int*))JIT->getPointerToFunction(F);
int a;
f(&a);
// read a
I haven't compiled this, it's a guess at the usage from memory.
Reid
On Fri, Feb 11, 2011 at 12:55 PM, Vu Le <vmle at ucdavis.edu> wrote: