diff options
author | Francis Ricci <francisjricci@gmail.com> | 2016-05-24 18:19:45 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2016-05-24 18:19:45 +0000 |
commit | 15a2165d645135787874268bc546fb543d6c2d1f (patch) | |
tree | 9256cb5b5aaf904a46f3e8b2a4046f12932cc065 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 97276c8be5f3c7a8e4aa9e2dd417be2a992f3abf (diff) | |
download | llvm-15a2165d645135787874268bc546fb543d6c2d1f.zip llvm-15a2165d645135787874268bc546fb543d6c2d1f.tar.gz llvm-15a2165d645135787874268bc546fb543d6c2d1f.tar.bz2 |
Skip leading spaces when decoding hex values
Summary:
The StringExtractor functions using stroull will already
skip leading whitespace (ie GetU64). Make sure that the manual
hex parsing functions also skip leading whitespace.
This is important for members of the gdb protocol which are defined
as using whitespace separators (ie qfThreadInfo, qC, etc). While
lldb-server does not use the whitespace separators, gdb-remotes
should work if they do, as the whitespace is defined by the gdb-remote
protocol.
Reviewers: vharron, jasonmolenda, clayborg
Subscribers: sas, lldb-commits
Differential Revision: http://reviews.llvm.org/D20509
llvm-svn: 270592
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions