diff options
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index e67311f655d..d3b6c78e17c 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -7910,7 +7910,7 @@ bool ARMAsmParser::ParseDirective(AsmToken DirectiveID) { return parseDirectiveInst(DirectiveID.getLoc(), 'n'); else if (IDVal == ".inst.w") return parseDirectiveInst(DirectiveID.getLoc(), 'w'); - else if (IDVal == ".ltorg") + else if (IDVal == ".ltorg" || IDVal == ".pool") return parseDirectiveLtorg(DirectiveID.getLoc()); return true; } @@ -8464,7 +8464,7 @@ bool ARMAsmParser::parseDirectiveInst(SMLoc Loc, char Suffix) { } /// parseDirectiveLtorg -/// ::= .ltorg +/// ::= .ltorg | .pool bool ARMAsmParser::parseDirectiveLtorg(SMLoc L) { MCStreamer &Streamer = getParser().getStreamer(); const MCSection *Section = Streamer.getCurrentSection().first; |

