https://bugs.llvm.org/show_bug.cgi?id=38561
Bug ID: 38561
Summary: DWARF CFI assertion for cfi_restores when regnum is
out of range.
Product: new-bugs
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: iains-l...@btconnect.com
CC: llvm-bugs@lists.llvm.org
Created attachment 20712
--> https://bugs.llvm.org/attachment.cgi?id=20712&action=edit
Use DW_CFA_restore_extended when needed.
the current code for cfi_restore is not checking the register number (it needs
to fit into 6 bits)
with larger register numbers an assertion is fired when we try to output the
fragment. it's likely wrong in places for many targets but doesn't fire
because the total size of the integer is < 8b
patch checks the reg number and uses the DW_CFA_restore_extended where needed.
No testsuite changes ( :( )
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs