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)
commitb37f29b6f316ece56e3879c1e2560eb2c46ec372
tree70f9a44e9f1afb64eeafb6287739e65bd880f427
parentfc0264a38e3d2e24d5cd44a6f028e2283f8b71ca
create sections with MCSection::Create instead of Context->getOrCreateSection.
This is needed to allow polymorphic sections.

llvm-svn: 77680
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCSection.h
llvm/lib/MC/MCContext.cpp