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