search for: _consumeptrvalue

Displaying 2 results from an estimated 2 matches for "_consumeptrvalue".

Did you mean: consumeptrvalue
2013 May 14
2
[LLVMdev] Queue implementation is being trapped
...ing lines on my original library: *#define INT_TYPE* *#define TYPE char* *#define TYPED_NAME(x) i8_##x* *#include "queue_wrappers.h"* *#undef TYPE* *#undef TYPED_NAME* *#undef INT_TYPE* And, for this example, the functions i8_produceValue, i8_consumeValue, i8_producePtrValue and i8_consumePtrValue should be defined. Well, the problem is that all those functions are being defined, indeed, but every function inside the #ifdef INT_TYPE's preprocessor flag has only a call to llvm.trap() function inside its body =/ And this is only happening to the functions (*)_consumeValue and (*)_produce...
2013 May 14
0
[LLVMdev] Queue implementation is being trapped
...fine TYPE char* > > *#define TYPED_NAME(x) i8_##x* > > *#include "queue_wrappers.h"* > > *#undef TYPE* > > *#undef TYPED_NAME* > > *#undef INT_TYPE* > > And, for this example, the functions i8_produceValue, i8_consumeValue, > i8_producePtrValue and i8_consumePtrValue should be defined. > > Well, the problem is that all those functions are being defined, indeed, > but every function inside the #ifdef INT_TYPE's preprocessor flag has only > a call to llvm.trap() function inside its body =/ > One possibility is that you have a function which ret...