aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2022-04-04 14:11:21 -0700
committerJason Molenda <jason@molenda.com>2022-04-04 14:14:02 -0700
commit7ebcd8891a7acc265cee4996d55a287a035f8771 (patch)
tree41eaaaf86b51e0b4a33c2e2fc0ab651cec36b6fb /flang/lib/Frontend/CompilerInvocation.cpp
parent686406a006155470d3d9b74df3da7b87de985887 (diff)
downloadllvm-7ebcd8891a7acc265cee4996d55a287a035f8771.zip
llvm-7ebcd8891a7acc265cee4996d55a287a035f8771.tar.gz
llvm-7ebcd8891a7acc265cee4996d55a287a035f8771.tar.bz2
Add DumpBinaryEscaped method to JSONGenerator, avoid extra copy
All uses of JSONGenerator in debugserver would create a JSON text dump of the object collection, then copy that string into a binary-escaped string, then send it up to the lldb side or make a compressed version and send that. This adds a DumpBinaryEscaped method to JSONGenerator which does the gdb remote serial protocol binary escaping directly, and removes the need to pass over the string and have an additional copy in memory. Differential Revision: https://reviews.llvm.org/D122882 rdar://91117456
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions