Displaying 7 results from an estimated 7 matches for "validate_arglist".
2008 Feb 16
3
[LLVMdev] linux/x86-64 codegen support
See the bug for a reduction and the gimple trees. validate_arglist
definately is rejecting the arglist in EmitBuiltinAlloca.
(try:
bool TreeToLLVM::EmitBuiltinAlloca(tree exp, Value *&Result) {
tree arglist = TREE_OPERAND(exp, 1);
if (!validate_arglist(arglist, INTEGER_TYPE, VOID_TYPE)) {
debug_tree(arglist);
return false;
}
Value *Amt = Emit(...
2010 May 24
2
[LLVMdev] linker errors when trying to link llvm-gcc
any ideas what library has these symbols
lang_eh_catch_all
get_pointer_alignment
validate_arglist
i get these linker errors when trying to link llvm-gcc:
make[1]: Entering directory
`/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree'
make[2]: Entering directory
`/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llv...
2008 Feb 16
0
[LLVMdev] linux/x86-64 codegen support
Andrew Lenharth wrote:
> Interestingly, in the .i file there are 2 __builtin_alloca, and
> EmitBuiltinAlloca is only being called once.
>
>
Hmm, here EmitBuiltinAlloca gets called twice, but it looks like
validate_arglist is rejecting the args both times.
I have 2 calls to alloca generated:
$ grep alloca x.bc|grep call
%tmp21 = call i8* @alloca( i64 %tmp20 ) nounwind
; <i8*> [#uses=1]
%tmp3 = call i8* @alloca( i64 %tmp2 ) nounwind ; <i8*>
[#uses=1]
I added some p...
2008 Feb 16
2
[LLVMdev] linux/x86-64 codegen support
Interestingly, in the .i file there are 2 __builtin_alloca, and
EmitBuiltinAlloca is only being called once.
Andrew
On 2/16/08, Andrew Lenharth <andrewl at lenharth.org> wrote:
> libcpp/charset.c:631 turns into:
>
> %tmp16 = tail call i64 @strlen( i8* %to ) nounwind readonly
> ; <i64> [#uses=1]
> %tmp18 = tail call i64 @strlen( i8* %from ) nounwind
2010 May 24
0
[LLVMdev] linker errors when trying to link llvm-gcc
Hi Anatoly,
> any ideas what library has these symbols
>
> lang_eh_catch_all
> get_pointer_alignment
> validate_arglist
it sounds like you are trying to build a version of llvm-gcc without LLVM
enabled. Did you specify --enable-llvm=path_to_llvm_build_directory when
configuring llvm-gcc? These symbols are all defined in llvm-gcc itself,
but only when ENABLE_LLVM is defined. This suggests to me that you somehow
c...
2008 Feb 16
0
[LLVMdev] linux/x86-64 codegen support
On Feb 16, 2008, at 2:27 PM, Andrew Lenharth wrote:
> See the bug for a reduction and the gimple trees. validate_arglist
> definately is rejecting the arglist in EmitBuiltinAlloca.
>
> (try:
> bool TreeToLLVM::EmitBuiltinAlloca(tree exp, Value *&Result) {
> tree arglist = TREE_OPERAND(exp, 1);
> if (!validate_arglist(arglist, INTEGER_TYPE, VOID_TYPE)) {
> debug_tree(arglist);
> ret...
2010 May 25
2
[LLVMdev] linker errors when trying to link llvm-gcc
...rror: backward ref to unknown label "8:"
Thanks,
Anatoly
On Mon, May 24, 2010 at 12:52 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Anatoly,
>
>> any ideas what library has these symbols
>>
>> lang_eh_catch_all
>> get_pointer_alignment
>> validate_arglist
>
> it sounds like you are trying to build a version of llvm-gcc without LLVM
> enabled. Did you specify --enable-llvm=path_to_llvm_build_directory when
> configuring llvm-gcc? These symbols are all defined in llvm-gcc itself,
> but only when ENABLE_LLVM is defined. This suggests...