Fix TestBreakpointSerialization on windows
authorPavel Labath <labath@google.com>
Thu, 22 Sep 2016 15:26:43 +0000 (15:26 +0000)
committerPavel Labath <labath@google.com>
Thu, 22 Sep 2016 15:26:43 +0000 (15:26 +0000)
commit2a66884f7846aa93acfbab2cba89145c7d67ed46
tree2da7a6e126f03dd082e87d16c2667b2c1b4a7445
parent2644208381d4aaee092627f173be315072dfa8ff
Fix TestBreakpointSerialization on windows

The test exposed a bug in the StructuredData Serialization code, which did not
escape the backslash properly. This manifested itself as windows breakpoint
serialization roundtrip test not succeeding (as windows paths included
backslashes).

llvm-svn: 282167
lldb/source/Core/StructuredData.cpp
lldb/unittests/Core/CMakeLists.txt
lldb/unittests/Core/StructuredDataTest.cpp [new file with mode: 0644]