Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing diagnostic for JSON errors #90

Open
e4lam opened this issue Sep 1, 2023 · 0 comments
Open

Missing diagnostic for JSON errors #90

e4lam opened this issue Sep 1, 2023 · 0 comments

Comments

@e4lam
Copy link

e4lam commented Sep 1, 2023

I built my project with clang-cl version 16.0.6 and -ftime-trace. When I run ClangBuildAnalyzer on it, I get:

$ ClangBuildAnalyzer.exe --all ninja_project_Release buildAnalyze.bin
Processing all files and saving to 'buildAnalyze.bin'...
WARN: JSON parse error TAPE_ERROR: The JSON document has an improper structure: missing or superfluous commas, braces, missing keys, etc..
WARN: JSON parse error TAPE_ERROR: The JSON document has an improper structure: missing or superfluous commas, braces, missing keys, etc..
WARN: JSON parse error F_ATOM_ERROR: Problem while parsing an atom starting with the letter 'f'.
WARN: JSON parse error TAPE_ERROR: The JSON document has an improper structure: missing or superfluous commas, braces, missing keys, etc..
  done in 86.6s. Run 'ClangBuildAnalyzer --analyze buildAnalyze.bin' to analyze it.

Not sure what the problem is but it would be helpful if it at least output which JSON file had the issue along with line number if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant