similar to: [LLVMdev] what is "Recursive compilation detected" error?

Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] what is "Recursive compilation detected" error?"

2012 Aug 23
1
[LLVMdev] Error: "Recursive compilation" when run lli
I edit two files named test.h,test.cpp as follow: ///////////////test.h////////////////////////////////////////////////////////////////class TestClass { private: int fTotal; public: TestClass(); ~TestClass(); };///////////test.cpp/////////////////////////////////////////////////////////////////////////////#include "test.h" TestClass::TestClass() { fTotal = 2; }
2009 Jan 30
0
[LLVMdev] Recursive compilation detected
Hi, I've trying to test a pass with a C version of the 171.swim SPECfp benchmark. If I run llvm-gcc on the C files, I can generate a functioning executable. However, if I use llvm-gcc with -emit-llvm, then run lli on the resulting bitcode, I get the following error: lli: /x/jeffhao/llvm/llvm-2.4/lib/ExecutionEngine/JIT/JIT.cpp:467: void llvm::JIT::runJITOnFunction(llvm::Function*):
2009 Jan 30
0
[LLVMdev] Recursive compilation detected
Hi, I've trying to test a pass with a C version of the 171.swim SPECfp benchmark. If I run llvm-gcc on the C files, I can generate a functioning executable. However, if I use llvm-gcc with -emit-llvm, then run lli on the resulting bitcode, I get the following error: lli: /x/jeffhao/llvm/llvm-2.4/lib/ExecutionEngine/JIT/JIT.cpp:467: void llvm::JIT::runJITOnFunction(llvm::Function*):
2010 Jun 05
0
[LLVMdev] JIT "Error: Recursive compilation detected!" when lazily compiling one function at a time
Hello, As the title line says, I'm getting assertions on recursive JIT compiation, like this: opt: JIT.cpp:627: void llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, const llvm::MutexGuard&): Assertion `!isAlreadyCodeGenerating && "Error: Recursive compilation detected!"' failed. 0 libLLVM-2.7.so 0x012eb2c8 Stack dump: 0. Program arguments: opt
2009 Jul 14
0
[LLVMdev] "Recursive compilation detected" and signals
Hello, Platform is RHEL5, GCC 4.2.4, x86-32, and LLVM/LLVM-GCC from subversion (yesterday evening). I'm compiling C code into bitcode, and then executing the bitcode using the JIT compiler (lli). I've managed to reproduce a problem when multiple signals go off around the same time. A sample program is below. The result is the "recursive compilation detected" JIT compiler
2007 Apr 04
0
[LLVMdev] For a small help
Hi Ferad, On Wed, 2007-04-04 at 19:48 +0200, Ferad Zyulkyarov wrote: > Hi, > > I want to ask for a small help for creating an instruction that calls > e member method of an object. I suppose that this is not a headache > but I am impatient in learning :) I would be very thankful if you can > show me an example snippet code that does this in LLVM. Below is > described my
2009 Apr 12
1
Simple class with an automatic printing issue
I don't understand the following behavior for a simple S3 class. The auto-printing at the command line doesn't behave as I expect. I'm probably missing something, but it might be a bug. > print.testClass <- function(x, ...) cat("Class:", class(x), ":", x, "\n") > structure(1, class = "testClass") Class: testClass : 1 > print(1 *
2009 Sep 15
2
S3 objects in S4 slots
Hello, I am the maintainer of the stringkernels package and have come across a problem with using S3 objects in my S4 classes. Specifically, I have an S4 class with a slot that takes a text corpus as a list of character vectors. tm (version 0.5) saves corpora as lists with a class attribute of c("VCorpus", "Corpus", "list"). I don't actually need the
2007 Apr 04
0
[LLVMdev] For a small help
Ferad Zyulkyarov wrote: > Hi, > > I want to ask for a small help for creating an instruction that calls > e member method of an object. I suppose that this is not a headache > but I am impatient in learning :) I would be very thankful if you can > show me an example snippet code that does this in LLVM. Below is > described my case. > > Let's say I have a class
2011 Feb 03
2
Creating a reference class object from a class definition in a package fails
Hi, I'm trying to create a package that contains reference class definitions from which users can create reference objects, but there seems to be something awry. My toy example creates an empty package via package.skeleton('TestClass') to which I add the following R code: TestClass <- setRefClass('TestClass',fields=c('name')) Unfortunately my R console output
2010 May 12
1
slot assignment in S4 classes
Hi R friends,   I'm still studying S4 classes and I have a question about slot assignment. Why would I have to use a special setter method [example 2 below] if I can assign data to a slot directly when I call new() [example 1 below]?   ## first way to do it (the idiosyncratic way?) setClass(Class = "TestClass", representation = representation(myDf = "data.frame"))
2010 Oct 28
2
Reference Classes: Generalizing Reference Class Generator objects?
Is it possible to override the $new(...) in the reference class generator? I have tried adding a "new" method to the methods of the class, but that is obviously not correct. I have also tried adding it to the class generator, but the class generator still uses the default constructor. As a simple example, this is the current interface: TestClass <- setRefClass
2012 Dec 12
1
Lost in S4 and S3 classes
Hi all, this is my first post in R devel? sorry if I lost some of the guidelines. Anyway this is my problem: Version: R version 2.15.2 (2012-10-26) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) I want to make an S4 class that use the output object of the function of nls.lm as a slot: setOldClass("nls.lm") setClass ( Class="TestClass",
2013 Oct 16
1
Internally accessing ref class methods with .self$x is different from .self[['x']]
When a reference class method is accessed with .self$x, it has different behavior from .self[['x']]. The former copies the function to the object's environment (with some attributes attached), and the latter just return NULL (unless it has already been accessed once with .self$x). Is this how it's supposed to work? Here's an example that illustrates:
2012 Feb 02
1
possibly Error in R version 2.12.1 (2010-12-16)
Hi, the following Code demonstrates an possibly Error in R (or you can explain me, why this happens, thanks in advance) Code: ##################################### testClass <- function( stackData= c()) { list( write= function( ...) { sChain= "" for( s in c( stackData, ...)) { sChain= paste( sChain, '"', sub( '"',
2007 Apr 05
2
[LLVMdev] For a small help
On 4 Apr 2007, at 20:10, Jeff Cohen wrote: > […] > %obj = alloca %struct.TestClass, align 1 ; <%struct.TestClass*> > [#uses=1] > %tmp1 = call int %_ZN9TestClass10testMethodEi( %struct.TestClass* % > obj, int 1 ) ; <int> [#uses=0] > ret void > } > > declare int %_ZN9TestClass10testMethodEi(%struct.TestClass*, int) The name mangling is not very pretty
2002 Nov 14
0
WIN 3.1 App crashes.. Unhandled Exception
The program is Atwin.exe (Accuterm) and going back to the 3.1 version as it's reliance on Windows specific .dll's is better than recent versions... However, I get as far as the initial splash screen and nothing.. If I hit the enter key twice it continues running for a bit, and then hangs.. When I run a trace, I get the following: Can anyone see at a glance if this is a bug, or just a
2012 May 03
1
deparse(substitute(x)) on an object with S3 class
Dear list, can someone explain to me why deparse(substitute(x)) does not seem to work when x is of a user-defined S3 class? In my actual problem, my print method is part of a package, and the method is registered in the NAMESPACE, if that should make a difference. > print.testclass <- function(x,...){ xname <- deparse(substitute(x)) cat("Your object name
2007 Apr 05
0
[LLVMdev] For a small help
Luc Bourhis wrote: > On 4 Apr 2007, at 20:10, Jeff Cohen wrote: > > >> […] >> %obj = alloca %struct.TestClass, align 1 ; <%struct.TestClass*> >> [#uses=1] >> %tmp1 = call int %_ZN9TestClass10testMethodEi( %struct.TestClass* % >> obj, int 1 ) ; <int> [#uses=0] >> ret void >> } >> >> declare int
2007 Apr 04
4
[LLVMdev] For a small help
Hi, I want to ask for a small help for creating an instruction that calls e member method of an object. I suppose that this is not a headache but I am impatient in learning :) I would be very thankful if you can show me an example snippet code that does this in LLVM. Below is described my case. Let's say I have a class TestClass class TestClass { int testMethod(int a); } and I want to