summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c4746e)
raw | patch | inline | side by side (parent: 1c4746e)
author | Benjamin Kramer <benny.kra@googlemail.com> | |
Mon, 27 Jan 2014 11:50:13 +0000 (11:50 +0000) | ||
committer | Benjamin Kramer <benny.kra@googlemail.com> | |
Mon, 27 Jan 2014 11:50:13 +0000 (11:50 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200216 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp | patch | blob | history | |
lib/Target/XCore/XCoreAsmPrinter.cpp | patch | blob | history | |
lib/Target/XCore/XCoreTargetStreamer.h | patch | blob | history |
diff --git a/lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp b/lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
index dec8432f47d307a71d5ce6123225c2789cfbad4a..9e38dde14f3019ca77a4dbc2e0eac7ef3f677812 100644 (file)
formatted_raw_ostream &OS;
public:
XCoreTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS);
- virtual void emitCCTopData(StringRef Name);
- virtual void emitCCTopFunction(StringRef Name);
- virtual void emitCCBottonData(StringRef Name);
- virtual void emitCCBottonFunction(StringRef Name);
+ virtual void emitCCTopData(StringRef Name) LLVM_OVERRIDE;
+ virtual void emitCCTopFunction(StringRef Name) LLVM_OVERRIDE;
+ virtual void emitCCBottomData(StringRef Name) LLVM_OVERRIDE;
+ virtual void emitCCBottomFunction(StringRef Name) LLVM_OVERRIDE;
};
XCoreTargetAsmStreamer::XCoreTargetAsmStreamer(MCStreamer &S,
OS << "\t.cc_top " << Name << ".function," << Name << '\n';
}
-void XCoreTargetAsmStreamer::emitCCBottonData(StringRef Name) {
+void XCoreTargetAsmStreamer::emitCCBottomData(StringRef Name) {
OS << "\t.cc_bottom " << Name << ".data\n";
}
-void XCoreTargetAsmStreamer::emitCCBottonFunction(StringRef Name) {
+void XCoreTargetAsmStreamer::emitCCBottomFunction(StringRef Name) {
OS << "\t.cc_bottom " << Name << ".function\n";
}
}
index 9bd774961597513cab0afc8cd3b2912a92480b87..38c51ed507366e263f2f011649da6ae46295b5fb 100644 (file)
OutStreamer.EmitZeros(4 - Size);
// Mark the end of the global
- getTargetStreamer().emitCCBottonData(GVSym->getName());
+ getTargetStreamer().emitCCBottomData(GVSym->getName());
}
void XCoreAsmPrinter::EmitFunctionBodyStart() {
/// the last basic block in the function.
void XCoreAsmPrinter::EmitFunctionBodyEnd() {
// Emit function end directives
- getTargetStreamer().emitCCBottonFunction(CurrentFnSym->getName());
+ getTargetStreamer().emitCCBottomFunction(CurrentFnSym->getName());
}
void XCoreAsmPrinter::EmitFunctionEntryLabel() {
index 07e6c14338db4cdf2ee1ffcb7e14ff2bb3ff063a..0a394da98a0efbf79552245d0a4c8c62b6b81f73 100644 (file)
virtual ~XCoreTargetStreamer();
virtual void emitCCTopData(StringRef Name) = 0;
virtual void emitCCTopFunction(StringRef Name) = 0;
- virtual void emitCCBottonData(StringRef Name) = 0;
- virtual void emitCCBottonFunction(StringRef Name) = 0;
+ virtual void emitCCBottomData(StringRef Name) = 0;
+ virtual void emitCCBottomFunction(StringRef Name) = 0;
};
}