Use clang as a lib to parse the helper file live
* Add clang as a library to the .so...this adds about 16M of stuff
* Compute the build flags for clang from the current kernel's header
build tree. It generates a makefile on the fly and caches the minimal
flags as an output.
* Followup to this would be to migrate bitops.c to be #include'd as well
as the proto.d/kprobe.d stuff.
* For now, requires clang to be installed in /opt/local/llvm...see cmake
files to override this.
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
Showing
Please register or sign in to comment