[PATCH] D36493: [MC] Handle unknown literal register numbers in .cfi_* directives

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 15:55:43 PDT 2017


mcgrathr created this revision.
Herald added a subscriber: aprantl.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D36493

Files:
  include/llvm/MC/MCRegisterInfo.h
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCDwarf.cpp
  lib/MC/MCRegisterInfo.cpp
  test/MC/AsmParser/cfi-unknown-register.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36493.110296.patch
Type: text/x-patch
Size: 5787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170808/5883ac1c/attachment.bin>


More information about the llvm-commits mailing list