Remove useless .debug_macinfo section setup.
[oota-llvm.git] / lib / Target / MSP430 / MSP430TargetMachine.h
index 0e54ed631beb0206356948bbe49cd46d856676a8..c6a6a70ee65acc388c91464ef2eb6a1941fa1630 100644 (file)
@@ -25,6 +25,7 @@ namespace llvm {
 ///
 class MSP430TargetMachine : public LLVMTargetMachine {
   std::unique_ptr<TargetLoweringObjectFile> TLOF;
+  const DataLayout DL; // Calculates type size & alignment
   MSP430Subtarget        Subtarget;
 
 public:
@@ -34,6 +35,7 @@ public:
                       CodeGenOpt::Level OL);
   ~MSP430TargetMachine() override;
 
+  const DataLayout *getDataLayout() const override { return &DL; }
   const MSP430Subtarget *getSubtargetImpl() const override {
     return &Subtarget;
   }