https://bugs.llvm.org/show_bug.cgi?id=39010
Bug ID: 39010
Summary: Assembler directives cannot be separated by a
semicolon if aarch64 or arm64 is specified via -arch
instead of -triple
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedb...@nondot.org
Reporter: tbl...@icloud.com
CC: llvm-bugs@lists.llvm.org
$ echo '.if 0;.endif' | /usr/local/opt/llvm/bin/llvm-mc -triple arm64
.text
$ echo '.if 0;.endif' | /usr/local/opt/llvm/bin/llvm-mc -arch arm64
.text
<stdin>:2:1: error: unmatched .ifs or .elses
^
In this example, the first command succeeds, as it should. The second command
should be exactly equivalent, but it isn't; it doesn't allow directives to be
separated by semicolons and requires newlines instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs