[llvm-dwarfdump] Adjust Windows path to be acceptable by JSON
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Fri, 20 Sep 2019 09:25:11 +0000 (09:25 +0000)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Fri, 20 Sep 2019 09:25:11 +0000 (09:25 +0000)
commit9120829063de1885b88a1e274e17026552bbab68
tree1c3acce3ccd364341d29f77bf18a142f13c49dd8
parent4d69967f44116b4ad4b2810633045ffed119f7c3
[llvm-dwarfdump] Adjust Windows path to be acceptable by JSON

Backslash is a special character according to JSON specification,
so we should avoid that when printing a file path with the
--statistics option.

Differential Revision: https://reviews.llvm.org/D67699

llvm-svn: 372378
llvm/tools/llvm-dwarfdump/Statistics.cpp