[all-commits] [llvm/llvm-project] 6f4398: [lldb] Fix NSURL data formatter truncation issue
Davide Italiano via All-commits
all-commits at lists.llvm.org
Wed Nov 20 12:28:21 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6f4398d1b9950d48ead91b2b550792f2bbe4778e
https://github.com/llvm/llvm-project/commit/6f4398d1b9950d48ead91b2b550792f2bbe4778e
Author: Davide Italiano <ditaliano at apple.com>
Date: 2019-11-20 (Wed, 20 Nov 2019)
Changed paths:
M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
Log Message:
-----------
[lldb] Fix NSURL data formatter truncation issue
Remove hardcoded string prefix length assumption causing issues when
concatenating summary for NSURL in NSURLSummaryProvider. Provider relies
on concatenation of NSStringProvider results for summary, and while the
strings are prefixed with '@' in Objective-C, that is not the case in
Swift causing part of the description to be truncated.
This will be tested in the downstream fork.
Patch by Martin Svensson!
More information about the All-commits
mailing list