This patch replaces the hand-rolled JSON emission with LLVM's JSON library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | ||
---|---|---|
387 ↗ | (On Diff #222509) | Removing the spaces, is this just a formatting change? |
lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | ||
---|---|---|
387 ↗ | (On Diff #222509) | Yes |
Comment Actions
Sweet! Does this 'automatically' fix the 'llvm-argdumper has issues escaping JSON-ified input' issue we discussed in person?
Comment Actions
Yay.
BTW, there's another copy of json serialization code in JSON.cpp (JSONValue::Write).
Comment Actions
Cool. I mean both are supposed to be JSON, but are we expecting any fallout from a debugserver using the old library vs and lldb using the new one? I suppose not..
Comment Actions
No, that uses the JSON class that Pavel mentioned. My hope is to remove that altogether in favor of the LLVM counterpart.
I ran the test suite with the just-built debugserver and didn't notice any regressions. If this does come up we should fix the debugserver implementation.