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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs