[Driver] Quote executable in reports generated by -fproc-stat-report
authorSerge Pavlov <sepavloff@gmail.com>
Tue, 17 Nov 2020 05:46:13 +0000 (12:46 +0700)
committerSerge Pavlov <sepavloff@gmail.com>
Tue, 17 Nov 2020 08:16:09 +0000 (15:16 +0700)
commit9faedb2d7146d29bfd0f601e2a4a90b546cdaf04
tree6696355641c7d6e16b0816038380fb3d5f2a5442
parenta57fe210ff7cf553b721bf08e74df42b0ae1df38
[Driver] Quote executable in reports generated by -fproc-stat-report

The option -fproc-stat-report=<file> makes driver to generate child
process resource comsumption report. In the report executable name was
not quoted and it made parsing the report more difficult. With this
change the executable name is surrounded by quotation marks.
clang/lib/Driver/Driver.cpp