diff options
Diffstat (limited to 'tools/lto-bugpoint/LTOBugPoint.h')
-rw-r--r-- | tools/lto-bugpoint/LTOBugPoint.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/lto-bugpoint/LTOBugPoint.h b/tools/lto-bugpoint/LTOBugPoint.h new file mode 100644 index 0000000000..57b99c15f2 --- /dev/null +++ b/tools/lto-bugpoint/LTOBugPoint.h @@ -0,0 +1,30 @@ +//===- LTOBugPoint.h - Top-Level LTO BugPoint class -------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This class contains all of the shared state and information that is used by +// the LTO BugPoint tool to track down bit code files that cause errors. +// +//===----------------------------------------------------------------------===// + +#include "llvm/ADT/SmallVector.h" +#include <string> +#include <fstream> + +class LTOBugPoint { + public: + + LTOBugPoint(std::istream &args, std::istream &ins); + + private: + /// LinkerInputFiles - This is a list of linker input files. Once populated + /// this list is not modified. + llvm::SmallVector<std::string, 16> LinkerInputFiles; + llvm::SmallVector<std::string, 16> LinkerOptions; + +}; |