Displaying 7 results from an estimated 7 matches for "__mbstate_t".
2003 Dec 22
2
[LLVMdev] hello.bc & binary code
...[12 x sbyte]* %_ZN9__gnu_cxx10numpunct_wE
"struct.std::numpunct<wchar_t>"* %_ZN9__gnu_cxx10numpunct_wE
WARNING: Found global types that are not compatible:
[8 x sbyte]* %_ZN9__gnu_cxx10time_get_cE
"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"*
%_ZN9__gnu_cxx10time_get_cE
WARNING: Found global types that are not compatible:
[8 x sbyte]* %_ZN9__gnu_cxx10time_get_wE
"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"*
%_ZN9__gnu_cxx10time_get_wE
WARNING: Found global types that are n...
2010 Jul 12
2
[LLVMdev] about llvm2.7's inline assembly
Hello,
Whenever I compile a C program containing "FD_SET" function using llvm-gcc
2.7 (with -emit-llvm option), I got the following inline assembly in my
llvm byte code:
%asmtmp = call %struct.__mbstate_t asm sideeffect "cld; rep; stosl",
"={cx},={di},{ax},0,1,~{dirflag},~{fpsr},~{flags},~{memory}"(i32 0, i32
32, i32* getelementptr inbounds (%struct.__sigset_t* @socks, i32 0, i32
0, i32 0)) nounwind ; <%struct.__mbstat %asmresult = extractvalue
%struct.__mbstate_t %asmtmp, 0...
2006 Nov 21
0
[LLVMdev] libstdc++ as bytecode, again
...xabiv1::__pbase_type_info::__do_catch(std::type_info const*, void**, unsigned int) const':
: undefined reference to `l182___cxa_bad_typeid'
/var/tmp//cc79lj1N.o(.data+0x19fc): undefined reference to `std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)'
/var/tmp//cc79lj1N.o(.data+0x1a3c): undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)'
$
And again, using llvmc instead of llvm-link produces bad code:
$ gmake diets...
2004 Aug 19
4
[LLVMdev] Can't get llvmg++ to work
...ound global types that are not compatible:
"struct.std::numpunct<wchar_t>"* %_ZN9__gnu_cxx10numpunct_wE
[12 x sbyte]* %_ZN9__gnu_cxx10numpunct_wE
WARNING: Found global types that are not compatible:
"struct.std::__codecvt_abstract_base<wchar_t,char,__mbstate_t>"* %_ZN9__gnu_cxx10time_get_cE
[8 x sbyte]* %_ZN9__gnu_cxx10time_get_cE
WARNING: Found global types that are not compatible:
"struct.std::__codecvt_abstract_base<wchar_t,char,__mbstate_t>"* %_ZN9__gnu_cxx10time_get_wE
[8 x sbyte]* %_ZN9__gnu_cxx10t...
2004 Aug 26
6
chan_capi module
...ncluded from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from /usr/include/asterisk/monitor.h:4,
from /usr/include/asterisk/channel.h:34,
from chan_capi.c:16:
/usr/include/_G_config.h:29: error: syntax error before "__mbstate_t"
/usr/include/_G_config.h:34: error: syntax error before "__mbstate_t"
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from /usr/include/asterisk/monitor.h:4,...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...ef char *__caddr_t;
typedef long int __intptr_t;
typedef unsigned int __socklen_t;
typedef struct _IO_FILE FILE;
typedef struct _IO_FILE __FILE;
typedef int wchar_t;
typedef unsigned int wint_t;
typedef struct
{
int __count;
union
{
wint_t __wch;
char __wchb[4];
} __value;
} __mbstate_t;
typedef struct
{
__off_t __pos;
__mbstate_t __state;
} _G_fpos_t;
typedef struct
{
__off64_t __pos;
__mbstate_t __state;
} _G_fpos64_t;
enum
{
__GCONV_OK = 0,
__GCONV_NOCONV,
__GCONV_NODB,
__GCONV_NOMEM,
__GCONV_EMPTY_INPUT,
__GCONV_FULL_OUTPUT,
__GCONV_ILLEGAL_INPUT,
__GCO...