summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Stream.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make lldb::endian::InlHostByteOrder() private.Bruce Mitchener2015-11-071-8/+8
| | | | | | | | | | | | | | | | | | Summary: Since this is within the lldb namespace, the compiler tries to export a symbol for it. Unfortunately, since it is inlined, the symbol is hidden and this results in a mess of warnings when building on OS X with cmake. Moving it to the lldb_private namespace eliminates that problem. Reviewers: clayborg Subscribers: emaste, lldb-commits Differential Revision: http://reviews.llvm.org/D14417 llvm-svn: 252396
* Make stream::operator<< take "const" void *Pavel Labath2015-07-221-2/+2
| | | | | | | | | | | | | | Summary: This enables us to avoid casts to "void *" in some cases and avoids a couple of "casts off const qualifiers" warnings. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11388 llvm-svn: 242874
* Fix typos.Bruce Mitchener2014-07-011-1/+1
| | | | llvm-svn: 212132
* Fix Windows build using portable types for formatting the log outputsDeepak Panickal2014-03-031-1/+1
| | | | llvm-svn: 202723
* <rdar://problem/13069948>Greg Clayton2013-01-251-49/+49
| | | | | | | | | | | | Major fixed to allow reading files that are over 4GB. The main problems were that the DataExtractor was using 32 bit offsets as a data cursor, and since we mmap all of our object files we could run into cases where if we had a very large core file that was over 4GB, we were running into the 4GB boundary. So I defined a new "lldb::offset_t" which should be used for all file offsets. After making this change, I enabled warnings for data loss and for enexpected implicit conversions temporarily and found a ton of things that I fixed. Any functions that take an index internally, should use "size_t" for any indexes and also should return "size_t" for any sizes of collections. llvm-svn: 173463
* Resolve printf formatting warnings on Linux:Daniel Malea2012-11-291-5/+7
| | | | | | | | - use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945
* Include stddef.h for ptrdiff_t, GCC 4.6 doesn't include it implicitly.Benjamin Kramer2012-02-271-0/+1
| | | | llvm-svn: 151535
* Comments edited to better reflect what the function really doesEnrico Granata2012-01-311-2/+1
| | | | llvm-svn: 149390
* Fixed an issue in the DWARFLocationList::Dump() function where default Greg Clayton2011-11-281-1/+3
| | | | | | | arguments were quietly masked as the code changed (modified version of a path from Dawn). llvm-svn: 145216
* Use Host::File in lldb_private::StreamFile and other places to cleanup hostGreg Clayton2011-02-091-1/+0
| | | | | | layer a bit more. llvm-svn: 125149
* Endian patch from Kirk Beitz that allows better cross platform building.Greg Clayton2011-02-011-8/+9
| | | | llvm-svn: 124643
* Updated the lldb_private::Flags class to have better method names and madeGreg Clayton2010-10-271-18/+19
| | | | | | | | | | | | | | | | | all of the calls inlined in the header file for better performance. Fixed the summary for C string types (array of chars (with any combo if modifiers), and pointers to chars) work in all cases. Fixed an issue where a forward declaration to a clang type could cause itself to resolve itself more than once if, during the resolving of the type itself it caused something to try and resolve itself again. We now remove the clang type from the forward declaration map in the DWARF parser when we start to resolve it and avoid this additional call. This should stop any duplicate members from appearing and throwing all the alignment of structs, unions and classes. llvm-svn: 117437
* Merged Eli Friedman's linux build changes where he added Makefile files thatGreg Clayton2010-07-091-23/+15
| | | | | | | enabled LLVM make style building and made this compile LLDB on Mac OS X. We can now iterate on this to make the build work on both linux and macosx. llvm-svn: 108009
* Added a method to get a stream's byte order.Sean Callanan2010-07-021-0/+10
| | | | llvm-svn: 107460
* Add missing includes.Eli Friedman2010-06-091-0/+3
| | | | llvm-svn: 105712
* Initial checkin of lldb code from internal Apple repo.Chris Lattner2010-06-081-0/+776
llvm-svn: 105619
OpenPOWER on IntegriCloud