[codeview] Describe int local variables using .cv_def_range
authorReid Kleckner <rnk@google.com>
Wed, 10 Feb 2016 20:55:49 +0000 (20:55 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 10 Feb 2016 20:55:49 +0000 (20:55 +0000)
commitf9c275fe0a57c7a3af6f791e1c6e3e908697dedb
tree3aa12eee1f461fe1c7f7c22688f1b20ac320d3d6
parent75d0dcfde74dcdb2aacfbfa0a52d8bf72416336b
[codeview] Describe int local variables using .cv_def_range

Summary:
Refactor common value, scope, and label tracking logic out of DwarfDebug
into a common base class called DebugHandlerBase.

Update an old LLVM IR test case to avoid an assertion in LexicalScopes.

Reviewers: dblaikie, majnemer

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D16931

llvm-svn: 260432
19 files changed:
llvm/include/llvm/MC/MCRegisterInfo.h
llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp [new file with mode: 0644]
llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.h [new file with mode: 0644]
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/MC/MCRegisterInfo.cpp
llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
llvm/lib/Target/X86/X86RegisterInfo.cpp
llvm/test/DebugInfo/COFF/asm.ll
llvm/test/DebugInfo/COFF/inlining.ll
llvm/test/DebugInfo/COFF/local-variables.ll [new file with mode: 0644]
llvm/test/DebugInfo/COFF/multifile.ll
llvm/test/DebugInfo/COFF/multifunction.ll
llvm/test/DebugInfo/COFF/simple.ll
llvm/test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll