[all-commits] [llvm/llvm-project] be9c58: [analyzer] Remove forbidden characters from a file...
Denys Petrov via All-commits
all-commits at lists.llvm.org
Mon Jun 22 07:27:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: be9c5818351bf99a193edbc82e4dc25ab5206a44
https://github.com/llvm/llvm-project/commit/be9c5818351bf99a193edbc82e4dc25ab5206a44
Author: Denys Petrov <dpetrov at accesssoftek.com>
Date: 2020-06-22 (Mon, 22 Jun 2020)
Changed paths:
M clang/include/clang/Basic/JsonSupport.h
A clang/test/Analysis/exploded-graph-rewriter/win_path_forbidden_chars.cpp
Log Message:
-----------
[analyzer] Remove forbidden characters from a filename for a graph dump on Windows
Summary:
Windows forbidden file path characters are used in a field `file`, while creating a dump `dot` file using an argument -analyzer-dump-egraph. It specifically relates to angle brackets when using `<scratch space>`, `<built-in>`, `<command line>` values in filenames. It causes that script exploded-graph-rewriter.py incorrectly parses the dump.
Fix:
Remove forbidden characters from filename for Windows platform, when creating graph dump file.
Differential Revision: https://reviews.llvm.org/D82103
More information about the All-commits
mailing list