Split out the DwarfException class into its own file. No functionality change,
[llvm/msp430.git] / lib / Target / PIC16 / PIC16Subtarget.cpp
blobdb8a5d84a4bff612f9de16ad7eb70e18e6a12f21
1 //===- PIC16Subtarget.cpp - PIC16 Subtarget Information -------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the PIC16 specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "PIC16Subtarget.h"
15 #include "PIC16GenSubtarget.inc"
17 using namespace llvm;
19 PIC16Subtarget::PIC16Subtarget(const Module &M, const std::string &FS,
20 bool Cooper)
21 :IsCooper(Cooper)
23 std::string CPU = "generic";
25 // Parse features string.
26 ParseSubtargetFeatures(FS, CPU);