create sections with MCSection::Create instead of Context->getOrCreateSection.
authorChris Lattner <sabre@nondot.org>
Fri, 31 Jul 2009 16:43:49 +0000 (16:43 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 31 Jul 2009 16:43:49 +0000 (16:43 +0000)
commitfcdbf4ecc33d6d9a197c88ac06218741a9228375
tree7f0fda95732aa8d3fd7e751f8ca5825313203209
parent82987bfe9b6ae85a8836c9f2d2e9f0ef9866edb1
create sections with MCSection::Create instead of Context->getOrCreateSection.
This is needed to allow polymorphic sections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77680 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
include/llvm/MC/MCSection.h
lib/MC/MCContext.cpp