Revert "[DebugInfo][RemoveDIs] Add prototype storage classes for "new" debug-info"
commit957efa4ce4f0391147cec62746e997226ee2b836
authorJeremy Morse <jeremy.morse@sony.com>
Thu, 2 Nov 2023 17:17:19 +0000 (2 17:17 +0000)
committerJeremy Morse <jeremy.morse@sony.com>
Thu, 2 Nov 2023 17:41:36 +0000 (2 17:41 +0000)
tree4b39d03d52aa393dc2bf64c56f3843a2d77b2d17
parent495ed8d8c8b3795dd51595aad7a192189f2cfeab
Revert "[DebugInfo][RemoveDIs] Add prototype storage classes for "new" debug-info"

And some intervening fixups. There are two remaining problems:
 * A memory leak via https://lab.llvm.org/buildbot/#/builders/236/builds/7120/steps/10/logs/stdio
 * A performance slowdown with -g where I'm not completely sure what the cause it

These might be fairly straightforwards to fix, but it's the end of the day
hear, so I figure I'll clear the buildbots til tomorrow.

This reverts commit 7d77bbef4ad9230f6f427649373fe46a668aa909.
This reverts commit 9026f35afe6ffdc5e55b6615efcbd36f25b11558.
This reverts commit d97b2b389a0e511c65af6845119eb08b8a2cb473.
25 files changed:
llvm/include/llvm/IR/BasicBlock.h
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/include/llvm/IR/DebugProgramInstruction.h [deleted file]
llvm/include/llvm/IR/Function.h
llvm/include/llvm/IR/Instruction.h
llvm/include/llvm/IR/Metadata.h
llvm/include/llvm/IR/Module.h
llvm/lib/IR/BasicBlock.cpp
llvm/lib/IR/CMakeLists.txt
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/lib/IR/DebugProgramInstruction.cpp [deleted file]
llvm/lib/IR/Function.cpp
llvm/lib/IR/LLVMContextImpl.cpp
llvm/lib/IR/LLVMContextImpl.h
llvm/lib/IR/Metadata.cpp
llvm/lib/IR/Module.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Linker/IRMover.cpp
llvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/lib/Transforms/Utils/CloneFunction.cpp
llvm/unittests/IR/DebugInfoTest.cpp
llvm/unittests/Transforms/Utils/LocalTest.cpp
llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn