diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-07-12 19:08:25 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-07-12 19:08:25 +0000 |
commit | 38a4e2acb7d01fbba3544882084bc9955812b7d3 (patch) | |
tree | ad289f0d9b025918d7effb266e2f585e998abc48 /include | |
parent | 9ac66b008d74d0a981455a2220136c59cf363226 (diff) | |
download | external_llvm-38a4e2acb7d01fbba3544882084bc9955812b7d3.zip external_llvm-38a4e2acb7d01fbba3544882084bc9955812b7d3.tar.gz external_llvm-38a4e2acb7d01fbba3544882084bc9955812b7d3.tar.bz2 |
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.h | 1 | ||||
-rw-r--r-- | include/llvm/MC/MCParser/MCAsmParser.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/MC/MCParser/AsmParser.h b/include/llvm/MC/MCParser/AsmParser.h index 4e89b99..3e897b3 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 da9b6f2..d0ccd0f 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 |