This is an archive of the discontinued LLVM Phabricator instance.

[MC] Handle unknown literal register numbers in .cfi_* directives
ClosedPublic

Authored by mcgrathr on Aug 8 2017, 3:53 PM.

Details

Summary

r230670 introduced a step to map EH register numbers to standard
DWARF register numbers. This failed to consider the case when a
user .cfi_* directive uses an integer literal rather than a
register name, to specify a DWARF register number that has no
corresponding LLVM register number (e.g. a special register that
the compiler and assembler have no name for).

Fixes PR34028.

Diff Detail

Repository
rL LLVM

Event Timeline

mcgrathr created this revision.Aug 8 2017, 3:53 PM
phosek accepted this revision.Nov 30 2017, 6:11 PM

LGTM

This revision is now accepted and ready to land.Nov 30 2017, 6:11 PM

Great! Please land it for me.

This revision was automatically updated to reflect the committed changes.