[codeview] Only emit function ids for inlined functions
authorReid Kleckner <rnk@google.com>
Fri, 18 Mar 2016 18:54:32 +0000 (18:54 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 18 Mar 2016 18:54:32 +0000 (18:54 +0000)
commitfbd7787d7e7ef84973c087bef2e7351717cd2fc9
treeca25eaa81a6a3394cde778d13d937192729788bd
parent72a9d15aba28a07c93abf18222b51f0afcd365ed
[codeview] Only emit function ids for inlined functions

We aren't referencing any other kind of function currently.
Should save a bit on our debug info size.

llvm-svn: 263817
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/test/DebugInfo/COFF/inlining-files.ll
llvm/test/DebugInfo/COFF/inlining-levels.ll
llvm/test/DebugInfo/COFF/inlining.ll
llvm/test/DebugInfo/COFF/local-variables.ll
llvm/test/DebugInfo/COFF/register-variables.ll