Issue 135323
Summary [RISCV] The asm parser does not error on incorrectly spelt @plt on call symbols
Labels new issue
Assignees svs-quic
Reporter svs-quic
    The asm parser currently parsers something like `call symbol@rlt` without any error and produces an empty object file.  It would be better if we error out in such scenarios.

```
cat plt.s
tail foo@rlt

bin/llvm-mc --filetype=obj plt.s  -triple riscv32 -o plt.o

bin/llvm-objdump -d plt.o

plt.o:	file format elf32-littleriscv

```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to