Commit Graph

2 Commits

Author SHA1 Message Date
Dan Gohman
d0eaa3383e Followup to 258750; update all MC tests to use .p2align .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258754 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-26 00:27:59 +00:00
Saleem Abdulrasool
0086358325 MC: AsmLexer: handle multi-character CommentStrings correctly
As X86MCAsmInfoDarwin uses '##' as CommentString although a single '#' starts a
comment a workaround for this special case is added.

Fixes divisions in constant expressions for the AArch64 assembler and other
targets which use '//' as CommentString.

Patch by Janne Grunau!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215615 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-14 02:51:43 +00:00