[llvm] Implement S_INLINEES debug symbol (#67490)
commit050bb26174cd9eb60c3c192476091494604f9a5d
authorDaniel Paoliello <danpao@microsoft.com>
Wed, 27 Sep 2023 21:06:22 +0000 (27 14:06 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2023 21:06:22 +0000 (27 14:06 -0700)
treec7d537a46f144a6807557c69c96fec1f2b4b68f4
parenta82368ca7b221c2f4d251158aceccb189ede61e6
[llvm] Implement S_INLINEES debug symbol (#67490)

The `S_INLINEES` debug symbol is used to record all the functions that
are directly inlined within the current function (nested inlining is
ignored).

This change implements support for emitting the `S_INLINEES` debug
symbol in LLVM, and cleans up how the `S_INLINEES` and `S_CALLEES` debug
symbols are dumped.
13 files changed:
llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp
llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.cpp
llvm/test/DebugInfo/COFF/inlining-files.ll
llvm/test/DebugInfo/COFF/inlining-header.ll
llvm/test/DebugInfo/COFF/inlining-levels.ll
llvm/test/DebugInfo/COFF/inlining-padding.ll
llvm/test/DebugInfo/COFF/inlining-same-name.ll
llvm/test/DebugInfo/COFF/inlining.ll
llvm/test/tools/llvm-readobj/COFF/codeview-inlinees.test
llvm/tools/llvm-pdbutil/MinimalSymbolDumper.cpp