Reland - [CodeView] Emit S_OBJNAME record
authorAlexandre Ganea <alexandre.ganea@legionlabs.com>
Tue, 21 Dec 2021 23:59:47 +0000 (18:59 -0500)
committerAlexandre Ganea <alexandre.ganea@legionlabs.com>
Wed, 22 Dec 2021 00:02:14 +0000 (19:02 -0500)
commita282ea4898efe2b2e57a93b44e90c9e497520cfb
tree57c90bccf41dd205db8b8b1aa7b187057a55a074
parent5bb5142e80c9c6eb1a948d6d2ff4834e4e69741f
Reland - [CodeView] Emit S_OBJNAME record

Reland integrates build fixes & further review suggestions.

Thanks to @zturner for the initial S_OBJNAME patch!

Differential Revision: https://reviews.llvm.org/D43002
25 files changed:
clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Driver/Job.h
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/CMakeLists.txt
clang/test/CodeGenCXX/debug-info-objname.cpp [new file with mode: 0644]
llvm/include/llvm/MC/MCTargetOptions.h
llvm/include/llvm/Support/Caching.h
llvm/include/llvm/Support/ToolOutputFile.h
llvm/include/llvm/Target/TargetOptions.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/lib/LTO/LTOBackend.cpp
llvm/lib/Support/Caching.cpp
llvm/test/DebugInfo/COFF/globals.ll
llvm/test/DebugInfo/COFF/multifunction.ll
llvm/test/DebugInfo/COFF/pr28747.ll
llvm/test/DebugInfo/COFF/simple.ll
llvm/test/DebugInfo/COFF/vframe-fpo.ll
llvm/test/MC/AArch64/coff-debug.ll
llvm/test/MC/ARM/coff-debugging-secrel.ll
llvm/test/MC/COFF/cv-compiler-info.ll
llvm/tools/llc/llc.cpp
llvm/tools/llvm-lto2/llvm-lto2.cpp