]> granicus.if.org Git - llvm/commit
[CodeView] Emit an appropriate symbol kind for globals
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 6 Jul 2016 21:07:47 +0000 (21:07 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 6 Jul 2016 21:07:47 +0000 (21:07 +0000)
commit7bae2669d568d98e64affe06a1a9ecf2a084f5a9
tree237a30d2147eefbc4713fa4fff2e65f4a0d7fb7a
parentcc3da7f637666cdb26e619479d490ba073b93182
[CodeView] Emit an appropriate symbol kind for globals

We emitted debug info for globals/functions as if they all had external
linkage.  Instead, emit local symbol records when appropriate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274676 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/DebugInfo/CodeView/SymbolDumper.cpp
test/DebugInfo/COFF/globals-discarded.ll
test/DebugInfo/COFF/globals.ll
test/DebugInfo/COFF/multifunction.ll
test/DebugInfo/PDB/pdbdump-headers.test