diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2012-10-15 15:43:14 +0000 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2012-10-15 15:43:14 +0000 |
commit | ef206f19a4be428092b173339df138a3c17e1687 (patch) | |
tree | 6c28b192c082a822564215065c28bfd425bf0f35 /llvm/lib/MC/MCStreamer.cpp | |
parent | 7b03290c437177cce12a3774651f94af9ecb41df (diff) | |
download | bcm5719-llvm-ef206f19a4be428092b173339df138a3c17e1687.tar.gz bcm5719-llvm-ef206f19a4be428092b173339df138a3c17e1687.zip |
PowerPC: add EmitTCEntry class for TOC creation
This patch replaces the EmitRawText by a EmitTCEntry class (specialized for
each Streamer) in PowerPC64 TOC entry creation.
llvm-svn: 165940
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCStreamer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp index 0bac24dc3a7..afece0ba551 100644 --- a/llvm/lib/MC/MCStreamer.cpp +++ b/llvm/lib/MC/MCStreamer.cpp @@ -561,6 +561,10 @@ void MCStreamer::EmitRegSave(const SmallVectorImpl<unsigned> &RegList, bool) { abort(); } +void MCStreamer::EmitTCEntry(const MCSymbol &S) { + llvm_unreachable("Unsupported method"); +} + /// EmitRawText - If this file is backed by an assembly streamer, this dumps /// the specified string in the output .s file. This capability is /// indicated by the hasRawTextSupport() predicate. |