summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/DataEncoder.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make lldb -Werror clean for -Wstring-conversionDavid Blaikie2017-01-061-2/+1
| | | | | | | | | Also found/fixed one bug identified by this warning in RenderScriptx86ABIFixups.cpp where a string literal was being used in an effort to provide a name for an instruction/register, but was instead being passed as the bool 'isVolatile' parameter. llvm-svn: 291198
* *** This commit represents a complete reformatting of the LLDB source codeKate Stone2016-09-061-198/+150
| | | | | | | | | | | | | | | | | | | | | | | *** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications: Firstly, merging this particular commit into a downstream fork may be a huge effort. Alternatively, it may be worth merging all changes up to this commit, performing the same reformatting operation locally, and then discarding the merge for this particular commit. The commands used to accomplish this reformatting were as follows (with current working directory as the root of the repository): find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ; The version of clang-format used was 3.9.0, and autopep8 was 1.2.4. Secondly, “blame” style tools will generally point to this commit instead of a meaningful prior commit. There are alternatives available that will attempt to look through this change and find the appropriate prior commit. YMMV. llvm-svn: 280751
* Remove unnecessary <limits> includes.Jim Ingham2016-03-151-1/+0
| | | | llvm-svn: 263588
* Let's not convert from UINT32_MAX to the std::numeric_limits version.Jim Ingham2016-03-121-7/+7
| | | | llvm-svn: 263333
* Fix Clang-tidy modernize-use-nullptr warnings in some files in source/Core; ↵Eugene Zelenko2016-03-021-36/+37
| | | | | | other minor fixes. llvm-svn: 262441
* Make lldb::endian::InlHostByteOrder() private.Bruce Mitchener2015-11-071-5/+5
| | | | | | | | | | | | | | | | | | 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
* Fixed a ton of gcc compile warningsVince Harron2015-05-131-7/+7
| | | | | | | | | | Removed some unused variables, added some consts, changed some casts to const_cast. I don't think any of these changes are very controversial. Differential Revision: http://reviews.llvm.org/D9674 llvm-svn: 237218
* Fixed the ValidOffsetForDataOfSize() to use simpler logic. Fixed ↵Greg Clayton2013-03-211-26/+0
| | | | | | DataExtractor::BytesLeft() to return the correct value. llvm-svn: 177616
* Forgot to write out the NULL terminator when putting C string value intoGreg Clayton2011-09-011-1/+1
| | | | | | | | a data using DataEncoder. Added DataEncoder to the lldb-forward.h file. llvm-svn: 138950
* Added a DataEncoder class for the new IR evaluation expression parser so itGreg Clayton2011-09-011-0/+361
can reserve a block of memory and store stuff into it. llvm-svn: 138949
OpenPOWER on IntegriCloud