MC: Add dyn_cast support to MCSection.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 17 May 2010 21:54:26 +0000 (21:54 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 17 May 2010 21:54:26 +0000 (21:54 +0000)
commit9a744e38607bc3046dffea56efec0b2dfc51d5e4
tree4bf44a58963ea7ef65b4dea08df69fe73dff1ee1
parentdb9014dd8b7b0b2581d10357b305f99f1b529316
MC: Add dyn_cast support to MCSection.
 - Of questionable utility, since in general anything which wants to do this should probably be within a target specific hook, which can rely on the sections being of the appropriate type. However, it can be useful for short term hacks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103980 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSection.h
include/llvm/MC/MCSectionCOFF.h
include/llvm/MC/MCSectionELF.h
include/llvm/MC/MCSectionMachO.h
lib/MC/MCSectionMachO.cpp
lib/Target/PIC16/PIC16Section.h