https://bugs.llvm.org/show_bug.cgi?id=41914
Bug ID: 41914
Summary: [AMDGPU][MC] Undefined labels are not handled
correctly
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: unassignedb...@nondot.org
Reporter: dpreobrazhen...@luxoft.com
CC: llvm-bugs@lists.llvm.org
Used but undefined labels crash elf object writer.
An example program:
s_branch undefined_label
Generate an object file:
llvm-mc.exe -arch=amdgcn -filetype=obj
The result:
unhandled relocation type
UNREACHABLE executed at <...> AMDGPUELFObjectWriter
Stack dump: <...>
Assembler should die more gracefully with a meaningful error message.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs