================
@@ -0,0 +1,151 @@
+//===- ExamplePlugin.cpp - Example SSAF plugin 
----------------------------===//
----------------
aviralg wrote:

The approach of having an "example" plugin is admittedly questionable. The 
other approach would be to put this in unittests, but then lit test will have a 
dependency on the unittest binary, which is unconventional. Having the example 
plugin as part of the core implementation lets us easily depend on it for lit 
tests. My plan is to move all the unitttest registrations for 
LU/TUSummary(Encoding) to this file (and convert those tests to lit tests). 
That way, this file will also serves as a simple demonstration of how to extend 
the framework with custom format, summary, and analysis.


https://github.com/llvm/llvm-project/pull/187403
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to