[Lustre-discuss] Clang plugin for identifying un-used code.

Henwood, Richard richard.henwood at intel.com
Thu Jul 24 13:08:53 PDT 2014


Hi All,

To aid completion of valuable Removal of Dead Code (Implementation) work
funded by OpenSFS [1], Intel HPDD developed a tool to help identify
unused functions, structure members, macros, and variables. I'm pleased
that this tool is now available for anyone to pursue code clean-up work
with automated help.

This tool uses the Clang front-end, augmented by a specially written
plugin. A guide to getting stared is available here: 
https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=18645101

The plugin code that provides the necessary augmentation to Clang is
available here:
http://git.whamcloud.com/tools/lustre-static-analysis.git
The code is available under GPLv2.

best regards,
Richard

1. http://wiki.opensfs.org/Contract_SFS-DEV-003

-- 
Richard.Henwood at intel.com
Intel High Performance Data Division


More information about the lustre-discuss mailing list