[CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes
authorBrock Wyma <brock.wyma@intel.com>
Thu, 15 Mar 2018 11:52:17 +0000 (11:52 +0000)
committerBrock Wyma <brock.wyma@intel.com>
Thu, 15 Mar 2018 11:52:17 +0000 (11:52 +0000)
commit3cc5710cec68e41bca7a073b4a0ade31a9d12da6
tree9705855cd65ea7babee55f39b0cdf00bc95470c4
parent194a407bda2b604ca0e43edbb56ce51989a7dc0a
[CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes

This patch sorts local variables by lexical scope and emits them inside
an appropriate S_BLOCK32 CodeView symbol.

Differential Revision: https://reviews.llvm.org/D42926

llvm-svn: 327620
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/test/DebugInfo/COFF/lexicalblock.ll [new file with mode: 0644]
llvm/test/DebugInfo/COFF/register-variables.ll