mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-08 03:29:41 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53774 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
968 B
C++
29 lines
968 B
C++
//===- LTOBugPoint.cpp - Top-Level LTO BugPoint class ---------------------===//
|
|
//
|
|
// 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 "LTOBugPoint.h"
|
|
|
|
LTOBugPoint::LTOBugPoint(std::istream &args, std::istream &ins) {
|
|
|
|
// Read linker options. Order is important here.
|
|
std::string option;
|
|
while (getline(args, option))
|
|
LinkerOptions.push_back(option);
|
|
|
|
// Read linker input files. Order is important here.
|
|
std::string inFile;
|
|
while(getline(ins, inFile))
|
|
LinkerInputFiles.push_back(inFile);
|
|
}
|