Closed dkrupp closed 6 years ago
Maybe we could generate a separate link_commands.json
file? It might be used by CTU later?
Isn't CodeChecker analyze
ignoring link commands anyways?
Yes, analyze is ignoring them but the commands are there in the file. If there is a lot of linking actions this file can be quite big. Loading up and parsing json can be quite slow.
Good idea! Lets keep linking actions in link_commands.json separate file.
The skipping of the linking actions is done, but I still think that collecting the linking actions in a separate file can be valuable. I've created a separate issue for that #1482
Another change in the logging in connection to this modification is in #1480
Linking actions are not used for the analysis. Introduce a new flag for CodeChecker log subcommand to skip linking actions.
--skip-linking
This way the compile_commands.json will be smaller.