summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-12 19:08:25 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-12 19:08:25 +0000
commit38a4e2acb7d01fbba3544882084bc9955812b7d3 (patch)
treead289f0d9b025918d7effb266e2f585e998abc48 /include
parent9ac66b008d74d0a981455a2220136c59cf363226 (diff)
downloadllvm-38a4e2acb7d01fbba3544882084bc9955812b7d3.tar.gz
llvm-38a4e2acb7d01fbba3544882084bc9955812b7d3.tar.bz2
llvm-38a4e2acb7d01fbba3544882084bc9955812b7d3.tar.xz
MC/AsmParser: Move .lsym parsing to Darwin specific parser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCParser/AsmParser.h1
-rw-r--r--include/llvm/MC/MCParser/MCAsmParser.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/MC/MCParser/AsmParser.h b/include/llvm/MC/MCParser/AsmParser.h
index 4e89b995ad..3e897b3833 100644
--- a/include/llvm/MC/MCParser/AsmParser.h
+++ b/include/llvm/MC/MCParser/AsmParser.h
@@ -138,7 +138,6 @@ private:
bool ParseDirectiveSymbolAttribute(MCSymbolAttr Attr);
bool ParseDirectiveELFType(); // ELF specific ".type"
bool ParseDirectiveDarwinSymbolDesc(); // Darwin specific ".desc"
- bool ParseDirectiveDarwinLsym(); // Darwin specific ".lsym"
bool ParseDirectiveComm(bool IsLocal); // ".comm" and ".lcomm"
bool ParseDirectiveDarwinZerofill(); // Darwin specific ".zerofill"
diff --git a/include/llvm/MC/MCParser/MCAsmParser.h b/include/llvm/MC/MCParser/MCAsmParser.h
index da9b6f228d..d0ccd0f617 100644
--- a/include/llvm/MC/MCParser/MCAsmParser.h
+++ b/include/llvm/MC/MCParser/MCAsmParser.h
@@ -73,6 +73,10 @@ public:
/// \brief Report an error at the current lexer location.
bool TokError(const char *Msg);
+ /// ParseIdentifier - Parse an identifier or string (as a quoted identifier)
+ /// and set \arg Res to the identifier contents.
+ virtual bool ParseIdentifier(StringRef &Res) = 0;
+
/// ParseExpression - Parse an arbitrary expression.
///
/// @param Res - The value of the expression. The result is undefined