[Debug][CodeView] Emit fully qualified names for globals
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 6 May 2020 13:11:46 +0000 (09:11 -0400)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 6 May 2020 13:12:00 +0000 (09:12 -0400)
commit06591b6d191ad3582d21a801cbaf56b36714cae7
treebc77be03df4ecdf0c79843baacf0fe642a514a33
parentc503d97d1934116802663e7b38df304691480700
[Debug][CodeView] Emit fully qualified names for globals

Emit S_[L|G][THREAD32|DATA32] records with a fully qualified name (namespace + class scope).

Differential Revision: https://reviews.llvm.org/D79447
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
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