search for: stdio_sync_filebuf

Displaying 5 results from an estimated 5 matches for "stdio_sync_filebuf".

2007 Aug 15
0
[LLVMdev] Extending AsmPrinter
...to native syscalls adapted by > lib/System and suited to the purposes of compilers :) I was just about to say that. While debugging my custom streambuf I had the "opportunity" of investigating how libstdc++-v3 defines cout and friends. It's not pretty. Basically, there's a stdio_sync_filebuf used as a proxy to C's FILE *. Because stdio_sync_filebuf does no buffering itself (delegating that to FILE), basic_streambuf::overflow is called a lot. Some of this is mitigated with xsputn for multiple characters, but it's a lot of virtual function calls. To get something faster proba...
2007 Aug 15
2
[LLVMdev] Extending AsmPrinter
On Wed, 2007-08-15 at 09:32 -0700, Chris Lattner wrote: > On Tue, 14 Aug 2007, David Greene wrote: > >> Yes, this is one advantage, another is that we wouldn't have to fix the > >> same bug in multiple places :) > > > > Right. I've figured out where I need to make the changes in AsmWriterEmitter > > given the current design. > > Ok, cool. >
2003 Dec 22
2
[LLVMdev] hello.bc & binary code
...at are not compatible: [20 x sbyte]* %_ZN9__gnu_cxx11timepunct_wE "struct.std::__timepunct<wchar_t>"* %_ZN9__gnu_cxx11timepunct_wE WARNING: Found global types that are not compatible: [36 x sbyte]* %_ZN9__gnu_cxx12buf_cin_syncE "struct.__gnu_cxx::stdio_sync_filebuf<char,std::char_traits<char> >"* %_ZN9__gnu_cxx12buf_cin_syncE WARNING: Found global types that are not compatible: [36 x sbyte]* %_ZN9__gnu_cxx13buf_cerr_syncE "struct.__gnu_cxx::stdio_sync_filebuf<char,std::char_traits<char> >"* %_ZN9__gnu_cxx13...
2007 Aug 15
2
[LLVMdev] Extending AsmPrinter
On Wed, 15 Aug 2007, David Greene wrote: > I was just about to say that. While debugging my custom streambuf I had the > "opportunity" of investigating how libstdc++-v3 defines cout and friends. > It's not pretty. Basically, there's a stdio_sync_filebuf used as a proxy to > C's FILE *. Because stdio_sync_filebuf does no buffering itself (delegating > that to FILE), basic_streambuf::overflow is called a lot. Some of this is > mitigated with xsputn for multiple characters, but it's a lot of virtual > function calls. Yes, it is...
2006 May 13
1
[LLVMdev] Building Tools on MinGW from CVS
...ined reference to `_imp__SymGetSymFromAddr at 16' :C:/msys/1.0/home/llvm/build/../src/lib/System/Win32/Signals.inc:222: undefined reference to `_imp__SymGetLineFromAddr at 16' C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../libstdc++.a(misc-inst.o):misc-inst.cc:(.text$_ZN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEE7seekoffExSt12_Ios_SeekdirSt13_Ios_Openmode[__gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::seekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode)]+0x54): undefined reference to `fseeko64' collect2: ld returned 1 exit status make[2]: *** [/usr/ho...