[llvm-bugs] [Bug 50470] New: .asciz directive does not concatenate strings
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 25 16:40:14 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50470
Bug ID: 50470
Summary: .asciz directive does not concatenate strings
Product: clang
Version: 11.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C
Assignee: unassignedclangbugs at nondot.org
Reporter: vicencb at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
The issue is found when building
https://github.com/ARM-software/arm-trusted-firmware
with
make PLAT=rk3328 CC=clang AR=llvm-ar OC=llvm-objcopy OD=llvm-objdump E=0 V=1
but it is easily reproduced with
echo '.asciz "" ""' | clang -x assembler-with-cpp -c -
The original code has a backslash and a new line between two non-empty srings.
The error reported is
error: unexpected token in '.asciz' directive
--
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/20210525/b7048114/attachment.html>
More information about the llvm-bugs
mailing list