diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index e7bb0418254..270b9f6108a 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -337,4 +337,14 @@ struct PassRegistrationListener { virtual void passEnumerate(const PassInfo *P) {} }; + +//===--------------------------------------------------------------------------- +// IncludeFile class - This class is used as a hack to make sure that the +// implementation of a header file is included into a tool that uses the header. +// This is solely to overcome problems linking .a files and not getting the +// implementation of passes we need. +// +struct IncludeFile { + IncludeFile(void *); +}; #endif