Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] code generation problem"
2013 Apr 11
2
[LLVMdev] Migration from JIT to MCJIT
Andrew,
I've attached a small reproduction of the issue.
Reproduce by:
$ /usr/bin/g++ `llvm-config --cxxflags` -g -m32 -c mcjit_external_symbol.cpp
$ /usr/bin/g++ `llvm-config --ldflags` -g -m32 -o mcjit_external_symbol mcjit_external_symbol.o `llvm-config --libs all`
$ ./mcjit_external_symbol
verifying...
LLVM ERROR: Program used external function '_external' which could not be
2013 Apr 11
0
[LLVMdev] Migration from JIT to MCJIT
Thanks, Eran.
I’m not sure how soon I’ll have a solution for you, but it’s on my to-do list now. I’ll also create a bugzilla record for this problem.
-Andy
From: Weiss, Eran [mailto:Eran.Weiss at emc.com]
Sent: Thursday, April 11, 2013 12:40 AM
To: Kaylor, Andrew
Cc: llvmdev at cs.uiuc.edu; Jim Grosbach; Jiong Wang
Subject: Re: [LLVMdev] Migration from JIT to MCJIT
Andrew,
I've attached
2013 Apr 11
0
[LLVMdev] Migration from JIT to MCJIT
Eran,
Is there any chance you could boil this down to a small reproducer?
I’ve got a mid-to-long-term goal of getting rid of the ugliness in LLDB that Jim mentioned, and fixing your problem would be a good first step.
Thanks,
Andy
From: Jim Grosbach [mailto:grosbach at apple.com]
Sent: Wednesday, April 10, 2013 4:19 PM
To: Kaylor, Andrew; Jiong Wang
Cc: Weiss, Eran; llvmdev at cs.uiuc.edu
2013 Apr 10
2
[LLVMdev] Migration from JIT to MCJIT
Existing clients (LLDB) deal with externals by resolving them to constant function pointers that are referenced in the IR. That’s obviously ugly as hell, but it gets things done.
The old JIT was able to simplify things because it assumed the JITed code was running in the same process as the JIT compiler. The MCJIT doesn’t assume that, so it has to handle more possibilities. For example, that the
2013 Apr 10
2
[LLVMdev] Migration from JIT to MCJIT
Thank you for the help.
The relocation type value is anded with 0xffffffffL. (RuntimeDyldMachO.cpp:214)
Maybe this mask should be different?
Anyway, it seems like this relocation isn't implemented. (RuntimeDyldMachO.cpp:104)
From: Jiong Wang <jiwang at tilera.com<mailto:jiwang at tilera.com>>
Date: Tue, 9 Apr 2013 09:42:03 -0400
To: Eran Weiss <eran.weiss at
2012 May 20
2
[LLVMdev] pseudo instructions not removed error
Hi,
I'm having problems when trying to JIT IR generated from C++ with clang. My code resides in a dynamically loaded shared object, and crashes when I call getPointerToFunction, claiming that it encountered a pseudo instruction. Interestingly, a very similar code that run as a separate executable JITing the same IR works fine. Note that I have not have modified LLVM. Any suggestions what
2012 May 21
0
[LLVMdev] pseudo instructions not removed error
For anyone encountering this problem in the future, the cause of this
problem was debugging symbols (-g) given to clang when generating IR.
On 20/05/2012 12:21, "Weiss, Eran" <Eran.Weiss at emc.com> wrote:
>Hi,
>
>I'm having problems when trying to JIT IR generated from C++ with clang.
>My code resides in a dynamically loaded shared object, and crashes when I
2013 Apr 10
0
[LLVMdev] Migration from JIT to MCJIT
The MachO handling isn’t always straightforward in that it has a lot of bit fields to handle while it’s also trying to accommodate the format abstractions baked into the interfaces. The actual relocation type gets extracted in the RuntimeDyldMachO::resolveRelocation function (RuntimeDyldMachO.cpp:32) before it is passed on to the architecture-specific handlers. So the mask you mentioned is
2013 Apr 09
0
[LLVMdev] Migration from JIT to MCJIT
? 2013/4/9 21:08, Weiss, Eran ??:
> Hi,
>
> I'm migrating my code (running on mac) from using JIT to MCJIT. My
> code generates in memory, mostly using the llvm-c api, and then runs
> the generated code.
> When I try to use MCJIT I encounter a problem with relocations of
> external symbols -- functions compiled statically beforehand with gcc.
>
> I get the
2013 Apr 09
2
[LLVMdev] Migration from JIT to MCJIT
Hi,
I'm migrating my code (running on mac) from using JIT to MCJIT. My code generates in memory, mostly using the llvm-c api, and then runs the generated code.
When I try to use MCJIT I encounter a problem with relocations of external symbols – functions compiled statically beforehand with gcc.
I get the following error:
Invalid relocation type!
UNREACHABLE executed at
2013 Apr 11
2
[LLVMdev] Migration from JIT to MCJIT
Submitted to bugzilla as PR 15729
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Kaylor, Andrew
Sent: Thursday, April 11, 2013 1:13 PM
To: Weiss, Eran
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Migration from JIT to MCJIT
Thanks, Eran.
I’m not sure how soon I’ll have a solution for you, but it’s on my to-do list now. I’ll also create a bugzilla
2012 Jun 17
1
[LLVMdev] Adding code after compilation
Hi,
I want to be able add a function to a module after it is (partly) compiled in JIT. Let's say we have these functions:
Foo()
{
Stuff;
}
Bar()
{
Foo();
MoreStuff;
}
I want to have a module with Foo optimized and have a callable pointer to Foo. Later, I want to generate Bar, optimize it (so Foo is inlined) and than get a callable pointer to Bar.
Is this possible?
If so, is there a way to
2013 Feb 11
1
[LLVMdev] x86 vs. i386 in clang ang llvm
Hi,
I'm a bit confused with regard to the use of x86 and i386 in clang and llvm tools.
I'm using clang to emit llvm with –m32 on a x86-64 machine. This generates a file with a target triple that uses i386.
>From the i386 llvm file I generate a .bc file with llvm-as.
When I try to generate an object file with llc -mtriple x86 -filetype=obj I get the following error:
llc: target does
2006 Jul 24
3
Identifying peaks (or offsets) in a time series
Dear R-users,
We are monitoring the activity of animals during a few days period. The
data from each animal (crossing of infra-red beam) are collected as a
time series (in 30 min bins). An example is attached below.
y <-
c(0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,3,28,27,46,76,77,60,19,35,55,59,48
,87,20,38,82,62,60,85,105,69,109,102,100,101,116,126,119,63,27,25,15,8,0
2011 Sep 05
1
capturing a figure to PDF or Image
Hello,
I've been using jpeg(), bmp() and pdf() to capture plots.
I've used the parameter "at" in a plot, to define the tickmarks.
It works fine on screen, but when I try to print it to a file, it gives a
warning:
"at" is not a graphical parameter
and prints an empty figure. Can you help?
Thanks,
Eran.
[[alternative HTML version deleted]]
2011 Aug 30
1
R-Studio Question
Hello,
I've switched to R studio from the StatET Eclipse plug-in.
I have a question regarding navigating between plots.
When I use x11() or windows() new devices are created and I know how to
switch back and forth between them.
However, when I plot on the device that stands for R-Studio's built-in plot
browser, is there a way to switch back between plots? Each new "plot"
2011 Sep 12
5
completing missing samples
Hello,
I have a time-series that has some missing samples.
I was thinking on completing them using either zero-order hold or linear
interpolation.
I am looking for an efiicient way (other than a loop...) of identifiying the
missing time slots and filling them.
Can you think of any methods that might help here? (obviously
which(diff(time)>min(diff(time))) will give the locations, but what
2011 Aug 24
2
debugging functions in R
Hi,
I am not sure if this is the right list to ask this question (though I did
not find a more appropriate one).
I've started using R a month ago, and small scripts work fine. However, when
I start writing more complex code, it gets messy.
1. Is there any way to debug "normally", with breakpoints?
2. I am using the Eclipse plugin (StatET), and tried JGR(). Is there an IDE
that
2011 Nov 29
1
[LLVMdev] [cfe-dev] LLVM 3.0rc4 Testing
Hello,
Is there a chance to get Darwin 32 bit binaries?
On Mon, Nov 28, 2011 at 11:04 AM, Somorjai, Akos
<ASomorjai at graphisoft.com> wrote:
> Thanks, downloading at the moment.
>
> Best,
>
> Ákos
>
>
> On 11/27/11 3:35 AM, "Bill Wendling" <wendling at apple.com> wrote:
>
>>Rather, use this URL for the darwin binaries:
>>
>>
2011 Aug 21
1
How to navigate (zoom, pan) in a plot/graph
Hello all,
I need to zoom in and out and "travel"(pan) inside a plot, like you can do
on a Matlab plot.
If possible, I would also like the option to use the mouse to set a marker
on the graph and get the (x,y) data for it, again, like in Matlab.
Is this possible in R with the regular packages, or do you maybe know a
different package that will allow this?
Eran.
*
*
[[alternative