[WIP] MSVC FPO debug information

Jeff Muizelaar jmuizelaar at mozilla.com
Sat Jun 13 09:01:28 PDT 2015


Here’s a work in progress patch that adds support for FPO tables used for unwinding by x86-32 MSVC.

The basic approach is to add a FPO_INSTRUCTION during X86FrameLowering along with some information in MachineModuleInfo. WinCodeViewLineTables then looks for this instruction and pulls out the relevant information and emits the FPO tables.

Does this seem like a sane approach?

Also, I’m using a generic instruction instead of an X86 one. Does this make sense because WinCodeViewLineTables can’t include the X86 Target headers?

Thanks,

-Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 28899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150613/2993b300/attachment.obj>


More information about the llvm-commits mailing list