I’m writing a Clang static analyzer to print data flow in source code level. Every time I make some modification to the analyzer code, Clang will be linked again. That is too time-consuming.
Is there is a way to make the analyzer compiled into a dynamic-link library so I don’t have to link clang? I’m using ‘clang -cc1 -analyzer -analyzer-checker XXX X.c’ to invoke the analyzer.