summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-08 20:30:37 +0000
committerChris Lattner <sabre@nondot.org>2010-04-08 20:30:37 +0000
commitf0559e4b242e85d4b9d1dd08758814c599bdce13 (patch)
tree34a32e10829a20b60ac0167daabec94e2bb351d5 /include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
parenta57fabe815ccf016eead526eb3ef475f116ab155 (diff)
downloadllvm-f0559e4b242e85d4b9d1dd08758814c599bdce13.tar.gz
llvm-f0559e4b242e85d4b9d1dd08758814c599bdce13.tar.bz2
llvm-f0559e4b242e85d4b9d1dd08758814c599bdce13.tar.xz
move macho section uniquing from MCParser and TLOF to MCContext where
the compiler and asmparser now unique to the same sections. This fixes rdar://7835021. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/TargetLoweringObjectFileImpl.h')
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
index b34ac21cf1..de7dad5e6c 100644
--- a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+++ b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
@@ -90,8 +90,6 @@ public:
class TargetLoweringObjectFileMachO : public TargetLoweringObjectFile {
- mutable void *UniquingMap;
-
const MCSection *CStringSection;
const MCSection *UStringSection;
const MCSection *TextCoalSection;
@@ -108,8 +106,8 @@ class TargetLoweringObjectFileMachO : public TargetLoweringObjectFile {
const MCSection *LazySymbolPointerSection;
const MCSection *NonLazySymbolPointerSection;
public:
- TargetLoweringObjectFileMachO() : UniquingMap(0) {}
- ~TargetLoweringObjectFileMachO();
+ TargetLoweringObjectFileMachO() {}
+ ~TargetLoweringObjectFileMachO() {}
virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);