Displaying 8 results from an estimated 8 matches for "initslowcase".
2012 Jul 17
2
[LLVMdev] llvm library linking issues
...#39;m trying to make use of the llvm compiler libraries, but I can't get them to link to my program correctly.
#include <llvm/Constants.h>
#include <llvm/DerivedTypes.h>
int main(){
llvm::APInt(1,0);
return 0;
}
I get an error like:
undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool)
(this function is called by the inline APInt constructor)
The library seems to be found correctly; it doesn't give any other errors. Using nm I can see the mangled function initSlowCase exactly where I expect it to be. I'm out of ideas of that coul...
2012 Jul 17
2
[LLVMdev] llvm library linking issues
...can't get them to link to my program correctly.
>
> #include <llvm/Constants.h>
> #include <llvm/DerivedTypes.h>
>
>
> int main(){
>
> llvm::APInt(1,0);
>
> return 0;
> }
>
> I get an error like:
> undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool)
did you link with -lLLVMSupport (see the output of `llvm-config --libs
support`)? What link command did you use?
Ciao, Duncan.
>
> (this function is called by the inline APInt constructor)
>
> The library seems to be found correctly; it doesn&...
2012 Jul 17
3
[LLVMdev] llvm library linking issues
...ogram correctly. >>>>#include <llvm/Constants.h> >>#include <llvm/DerivedTypes.h> >>>>>>int main(){ >>>>llvm::APInt(1,0); >>>>return 0; >>} >>>>I get an error like: >>undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool) >>did you link with -lLLVMSupport (see the output of `llvm-config --libs >support`)? What link command did you use? >>Ciao, Duncan. >>>>>(this function is called by the inline APInt constructor) >>>>The library seems...
2012 Jul 17
0
[LLVMdev] llvm library linking issues
...can't get them to link to my program correctly.
>
> #include <llvm/Constants.h>
> #include <llvm/DerivedTypes.h>
>
>
> int main(){
>
> llvm::APInt(1,0);
>
> return 0;
> }
>
> I get an error like:
> undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool)
did you link with -lLLVMSupport (see the output of `llvm-config --libs
support`)? What link command did you use?
Ciao, Duncan.
>
> (this function is called by the inline APInt constructor)
>
> The library seems to be found correctly; it doesn&...
2012 Jul 17
0
[LLVMdev] llvm library linking issues
...;
>> #include <llvm/Constants.h>
>> #include <llvm/DerivedTypes.h>
>>
>>
>> int main(){
>>
>> llvm::APInt(1,0);
>>
>> return 0;
>> }
>>
>> I get an error like:
>> undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool)
>
> did you link with -lLLVMSupport (see the output of `llvm-config --libs
> support`)? What link command did you use?
>
> Ciao, Duncan.
>
>>
>> (this function is called by the inline APInt constructor)
>>
>> The lib...
2012 Jul 17
0
[LLVMdev] llvm library linking issues
...ogram correctly. >>>>#include <llvm/Constants.h> >>#include <llvm/DerivedTypes.h> >>>>>>int main(){ >>>>llvm::APInt(1,0); >>>>return 0; >>} >>>>I get an error like: >>undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool) >>did you link with -lLLVMSupport (see the output of `llvm-config --libs >support`)? What link command did you use? >>Ciao, Duncan. >>>>>(this function is called by the inline APInt constructor) >>>>The library seems...
2009 Jan 20
0
[LLVMdev] cygwin build patch
On Jan 20, 2009, at 1:22 AM, Jay Foad wrote:
>>> I realise that the DataTypes.h.in part might be controversial. Also,
>>> there's probably a better place to put it, but I'm not sure where.
>>
>> I didn't apply this part. What problems does it cause to not have
>> this? Can we fix uses of max and min?
>
> I could try to fix this by changing
2009 Jan 20
4
[LLVMdev] cygwin build patch
>> I realise that the DataTypes.h.in part might be controversial. Also,
>> there's probably a better place to put it, but I'm not sure where.
>
> I didn't apply this part. What problems does it cause to not have
> this? Can we fix uses of max and min?
I get these errors in lib:
.../lib/Analysis/ValueTracking.cpp:162: error: no matching function
for call to