aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-06-10 11:57:53 +0100
committerGitHub <noreply@github.com>2024-06-10 11:57:53 +0100
commit5c268cfaae521dc2db1af58085e3c8d66a5533fe (patch)
tree6aa1dfd04b5c0972b6ec1665e3dbe8cad3c401f8 /llvm/lib/IR/Module.cpp
parent8b7e836570b29d3bc89731c5af91c847e3fc5c71 (diff)
downloadllvm-5c268cfaae521dc2db1af58085e3c8d66a5533fe.zip
llvm-5c268cfaae521dc2db1af58085e3c8d66a5533fe.tar.gz
llvm-5c268cfaae521dc2db1af58085e3c8d66a5533fe.tar.bz2
[Clang] Extend EmitPseudoVariable to support debug records (#94956)
CGDebugInfo::EmitPseudoVariable currently uses detailed logic to exactly collect llvm.dbg.declare users of an alloca. This patch replaces this with an LLVM function for finding debug declares intrinsics and also adds the same for debug records, simplifying the code and adding record support. No tests added in this commit because it is NFC for intrinsics, and there is no way to make clang emit records directly yet - one of the existing tests however will switch to covering debug records once https://github.com/llvm/llvm-project/pull/89799 relands.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions