Revert "Patch by Ray Donnelly to print register names instead of numbers."
authorReid Kleckner <reid@kleckner.net>
Tue, 10 Jun 2014 20:16:36 +0000 (20:16 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 10 Jun 2014 20:16:36 +0000 (20:16 +0000)
commite21498e604e7f9d21a321eb3c0be1f87f2ab0f2d
treed503d41fc9ba0237661e3bbb848816d11f9cacd5
parent258e8223e621f56fb1b17af150dc1ac7d6ddcddd
Revert "Patch by Ray Donnelly to print register names instead of numbers."

This reverts commit r206683.

The code was confusing SEH register numbers with DWARF register numbers.
The test case it was committed with was obviously incorrect.  The
disassembler was roundtripping '.seh_pushreg %rsi' as '.seh_pushreg
%rbp', and other exciting things.

Noticed by Vadim Chugunov.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210574 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAsmStreamer.cpp
test/MC/AsmParser/directive_seh.s