search for: ll_iostream

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

Did you mean: _iostream
2012 Feb 07
5
[LLVMdev] Static ctors in llvm::Attribute
...We really don't like static ctors in LLVM, because it is often used as a library, and they cause startup-time performance hits and other bad news. I'm surprised we don't have an explicit section about it in the CodingStandards, but we do have: http://llvm.org/docs/CodingStandards.html#ll_iostream ... which talks about the same thing. Anyway, as it turns out, LLVM can optimize those static ctors away in some cases, but not all (e.g. -O0). This was found because LLDB builds with -Wstatic-constructor and this header change is causing a flood of warnings. I can think of two ways to fix thi...
2012 Feb 07
0
[LLVMdev] Static ctors in llvm::Attribute
...like static ctors in LLVM, because it is often used as a > library, and they cause startup-time performance hits and other bad news. > I'm surprised we don't have an explicit section about it in the > CodingStandards, but we do have: > http://llvm.org/docs/CodingStandards.html#ll_iostream > > ... which talks about the same thing. > > Anyway, as it turns out, LLVM can optimize those static ctors away in some > cases, but not all (e.g. -O0). This was found because LLDB builds with > -Wstatic-constructor and this header change is causing a flood of warnings. > &gt...
2011 Oct 13
0
[LLVMdev] Integer to string
...ever, raw_ostream provides various APIs that are better performing for almost every use than std::ostream style APIs. Therefore new code should always use raw_ostream for writing, or the llvm::MemoryBuffer API for reading files. ============= This is from: http://llvm.org/docs/CodingStandards.html#ll_iostream Hope this helps Garrison On Oct 13, 2011, at 5:36, pablo barrio lópez-cortijo wrote: > http://llvm.org/releases/2.0/docs/CodingStandards.html > > I just realized that the target version is LLVM 2.0, so most likely the llvm::StringStream is deprecated by now. > > Thanks for your...
2011 Oct 13
1
[LLVMdev] Integer to string
http://llvm.org/releases/2.0/docs/CodingStandards.html I just realized that the target version is LLVM 2.0, so most likely the llvm::StringStream is deprecated by now. Thanks for your response! On 12/10/2011, at 17:10, Garrison Venn wrote: > Hi Pablo, > > Can you provide a link to the document containing a reference to > llvm::StringStream? I've looked in both the llvm coding
2011 Oct 12
0
[LLVMdev] Integer to string
Hi Pablo, Can you provide a link to the document containing a reference to llvm::StringStream? I've looked in both the llvm coding standards, and llvm programming manual for versions: ToT (3.0), 2.9 (which seems to be the same as ToT), and 2.8. Obviously my search is missing something. Thanks in advance Garrison On Oct 12, 2011, at 8:18, Pablo Barrio wrote: > Hi, > > I need