aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCStreamer.h
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-16 17:56:39 +0000
committerKevin Enderby <enderby@apple.com>2009-07-16 17:56:39 +0000
commitf96db468fcf62d671cda99b68b6cfd3f2dc0b839 (patch)
tree2f2ec649cdaffcddb153812a764a05cbe96e42dd /include/llvm/MC/MCStreamer.h
parent214d3194034e39351a14093be5711daf507c8c4b (diff)
Removed the SubsectionsViaSymbols MCStreamer API and replaced it with a generic
EmitAssemblerFlag API which takes a value from the added AssemblerFlag enumerated constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCStreamer.h')
-rw-r--r--include/llvm/MC/MCStreamer.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index b8f1b2659d..7d92a16507 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -53,6 +53,10 @@ namespace llvm {
SymbolAttrLast = WeakReference
};
+ enum AssemblerFlag {
+ SubsectionsViaSymbols /// .subsections_via_symbols (Apple)
+ };
+
private:
MCContext &Context;
@@ -89,10 +93,8 @@ namespace llvm {
// symbol section in the constructor and initialize it here?
virtual void EmitLabel(MCSymbol *Symbol) = 0;
- /// SubsectionsViaSymbols - Note in the output that the conventions used in
- /// in the assembly file allows the bytes of a section to be divided up at
- /// the boundaries of the symbols by a link editor for processing as atoms.
- virtual void SubsectionsViaSymbols(void) = 0;
+ /// EmitAssemblerFlag - Note in the output the specified @param Flag
+ virtual void EmitAssemblerFlag(AssemblerFlag Flag) = 0;
/// EmitAssignment - Emit an assignment of @param Value to @param Symbol.
///