OSDN Git Service

[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)
commitbb3e2694e91f67206ab88f48f33285eac654f2c5
treeff2019a0abf7fcdd515b9161741786cf08059842
parent116f1ad7f69240eb7eda0f76e583b4d76d7dd993
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327620 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/CodeGen/AsmPrinter/CodeViewDebug.h
test/DebugInfo/COFF/lexicalblock.ll [new file with mode: 0644]
test/DebugInfo/COFF/register-variables.ll