[llvm-bugs] [Bug 39010] New: Assembler directives cannot be separated by a semicolon if aarch64 or arm64 is specified via -arch instead of -triple
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 19 15:17:30 PDT 2018
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: unassignedbugs at nondot.org
Reporter: tblodt at icloud.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180919/6f12ccb6/attachment.html>
More information about the llvm-bugs
mailing list