[PATCH] D38480: CodeView: Provide a .def file with the register ids
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 2 15:57:16 PDT 2017
hans created this revision.
The list of register ids was previously written out in a couple of dirrent places. This puts it in a .def file and also adds a few more registers (e.g. the x87 regs) which should lead to more readable dumps, but I didn't include the whole list since that seems unnecessary.
X86_MC::initLLVMToSEHAndCVRegMapping is pretty ugly, but at least it's not relying on magic constants anymore. The TODO of using tablegen still stands.
https://reviews.llvm.org/D38480
Files:
include/llvm/DebugInfo/CodeView/CodeView.h
include/llvm/DebugInfo/CodeView/CodeViewRegisters.def
include/llvm/module.modulemap
lib/DebugInfo/CodeView/EnumTables.cpp
lib/DebugInfo/PDB/PDBExtras.cpp
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
test/DebugInfo/COFF/fp-stack.ll
test/DebugInfo/COFF/local-variables.ll
test/DebugInfo/COFF/pieces.ll
tools/llvm-pdbutil/MinimalSymbolDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38480.117439.patch
Type: text/x-patch
Size: 29537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171002/c142e2d6/attachment.bin>
More information about the llvm-commits
mailing list