implement a bunch of synonyms for section switching.
llvm-svn: 74062
diff --git a/llvm/tools/llvm-mc/AsmParser.h b/llvm/tools/llvm-mc/AsmParser.h
index 9e432e8..c793d78 100644
--- a/llvm/tools/llvm-mc/AsmParser.h
+++ b/llvm/tools/llvm-mc/AsmParser.h
@@ -54,7 +54,9 @@
bool ParseX86MemOperand(X86Operand &Op);
// Directive Parsing.
- bool ParseDirectiveSection();
+ bool ParseDirectiveDarwinSection(); // Darwin specific ".section".
+ bool ParseDirectiveSectionSwitch(const char *Section,
+ const char *Directives = 0);
};