summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2012-10-15 15:43:14 +0000
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2012-10-15 15:43:14 +0000
commitef206f19a4be428092b173339df138a3c17e1687 (patch)
tree6c28b192c082a822564215065c28bfd425bf0f35 /llvm/lib/MC/MCStreamer.cpp
parent7b03290c437177cce12a3774651f94af9ecb41df (diff)
downloadbcm5719-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.cpp4
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.
OpenPOWER on IntegriCloud