Commit Graph

11 Commits

Author SHA1 Message Date
Sean Callanan
694ef45a09 Added an explicatory comment, thanks to Dmitri Gribenko for the suggestion. 2016-08-10 15:57:25 -07:00
Sean Callanan
8ab85d7a3e Put @_sematics on its own line, thanks to Erik Eckstein for the comment. 2016-08-10 15:35:32 -07:00
Sean Callanan
b57926895f [stdlib] Make the stringForPrintObject function not inlined by default.
Inlining it causes the lldb "po" command to generate a 50KB binary blob that
needs to be injected into the target process.  It is much faster to just call
into the standard-library binary.

<rdar://problem/27710066>
2016-08-10 15:11:34 -07:00
Robert Widmann
14dc86cf15 Polish off uses of dynamicType in codebase 2016-07-29 16:58:40 -07:00
Joe Groff
9effc047e6 Update standard library for id-as-Any. 2016-07-25 06:01:21 -07:00
Tony Parker
2a4e916296 Rename OutputStream to TextOutputStream [SE-0086] 2016-07-18 16:47:23 -07:00
practicalswift
68af19b6b8 [gardening] Fix incorrect header filenames 2016-07-15 10:23:42 +02:00
practicalswift
a8c18a5242 [gardening] Don't compare to false. 2016-07-15 10:20:15 +02:00
Enrico Granata
4990fbd074 In order to avoid reference cycles and repeat printing of data, stringForPrintObject maintains a list of references it has encountered and skips printing them
Bridging was causing an issue where some value types were being bridged into references and ending up randomly causing collisions which would make certain data not be printed when it should have

Make it so that we only tuck away references we know are natively references for uniqueness purposes

Fixes rdar://problem/27319054
2016-07-13 16:36:56 -07:00
Enrico Granata
061b681d9f Minor tweak to stringForPrintObject to not say "1 elements" 2016-07-13 14:47:56 -07:00
Enrico Granata
dccff399e3 Adjust for latest round of code review; change PrintForDebugger to _DebuggerSupport and stringForPrintObject; minor indentation and label fixups 2016-07-11 18:32:18 -07:00