aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430/MSP430TargetAsmInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-26 19:23:28 +0000
committerChris Lattner <sabre@nondot.org>2009-07-26 19:23:28 +0000
commitc51585bc4b9c3463853ed251846fc9609901129e (patch)
tree37e6bf1e5da0f89ae50c33fa16f8ac0f1ca0d2da /lib/Target/MSP430/MSP430TargetAsmInfo.h
parent2d26465b799957820943cede4cb19cc2056cba9b (diff)
downloadexternal_llvm-c51585bc4b9c3463853ed251846fc9609901129e.zip
external_llvm-c51585bc4b9c3463853ed251846fc9609901129e.tar.gz
external_llvm-c51585bc4b9c3463853ed251846fc9609901129e.tar.bz2
untangle a TargetAsmInfo hack where ELFTargetAsmInfo would create a
'unnamed' bss section, but some impls would want a named one. Since they don't have consistent behavior, just make each target do their own thing, instead of doing something "sortof common" then having targets change immutable objects later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430TargetAsmInfo.h')
-rw-r--r--lib/Target/MSP430/MSP430TargetAsmInfo.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/MSP430/MSP430TargetAsmInfo.h b/lib/Target/MSP430/MSP430TargetAsmInfo.h
index b58d5c9..93ed04f 100644
--- a/lib/Target/MSP430/MSP430TargetAsmInfo.h
+++ b/lib/Target/MSP430/MSP430TargetAsmInfo.h
@@ -14,16 +14,11 @@
#ifndef MSP430TARGETASMINFO_H
#define MSP430TARGETASMINFO_H
-#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/ELFTargetAsmInfo.h"
namespace llvm {
-
- // Forward declaration.
- class MSP430TargetMachine;
-
struct MSP430TargetAsmInfo : public ELFTargetAsmInfo {
- explicit MSP430TargetAsmInfo(const MSP430TargetMachine &TM);
+ explicit MSP430TargetAsmInfo(const TargetMachine &TM);
};
} // namespace llvm