Re-land [Debug][CodeView] Emit fully qualified names for globals
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Fri, 15 May 2020 14:36:27 +0000 (10:36 -0400)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Fri, 15 May 2020 14:37:09 +0000 (10:37 -0400)
commit76c5f277f25e334404aa44ea0aafd674a627ab74
treedfd884583fd401b988335a106fbb0c732f3ab13d
parent436c5750cf36697afb17468908cbb7303b229e1f
Re-land [Debug][CodeView] Emit fully qualified names for globals

Before this patch, S_[L|G][THREAD32|DATA32] records were emitted with a simple name, not the fully qualified name (namespace + class scope).

Differential Revision: https://reviews.llvm.org/D79447
lldb/test/Shell/SymbolFile/PDB/variables.test
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/test/DebugInfo/COFF/global-constants.ll
llvm/test/DebugInfo/COFF/global_visibility.ll
llvm/test/DebugInfo/COFF/globals.ll
llvm/test/DebugInfo/COFF/types-array-unsized.ll