OSDN Git Service

[codeview] Emit nested enums and typedefs from classes
authorReid Kleckner <rnk@google.com>
Tue, 8 Aug 2017 20:30:14 +0000 (20:30 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 8 Aug 2017 20:30:14 +0000 (20:30 +0000)
commit9d69b6f1cd1b7bd8686e3750d5a884e4206a6e8c
treec71e71e414238c82717430939492437f40b26dc1
parent2fe6bd41fe577aa3536617289fa2df33fdadf31d
[codeview] Emit nested enums and typedefs from classes

Previously we limited ourselves to only emitting nested classes, but we
need other kinds of types as well.

This fixes the Visual Studio STL visualizers, so that users can
visualize std::string and other objects.

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