aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2025-11-10 12:45:05 +0000
committerGitHub <noreply@github.com>2025-11-10 12:45:05 +0000
commit342e28f8a94128b00be576b3df6d7629bc97b88b (patch)
tree287f2855c737917710dd024293c6035a51afcd32 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent309729e8279a675dcef2da8912c7679ebca5c641 (diff)
downloadllvm-342e28f8a94128b00be576b3df6d7629bc97b88b.zip
llvm-342e28f8a94128b00be576b3df6d7629bc97b88b.tar.gz
llvm-342e28f8a94128b00be576b3df6d7629bc97b88b.tar.bz2
[clang][DebugInfo] Attach `DISubprogram` to additional call variants (#166202)
`DISubprogram`s are attached to call sites to support various debug info features, including entry values and tail calls. Clang 9.0 (0f6516856670a435461f56a9faeb4aa8a35a6679) was the first version to include this kind of call site `DISubprogram` attachment. This earlier work appears to visit only some call site variants, however. The call site attachment was added to a higher-level `EmitCall` path in Clang's code gen that is only used by some call variants. In particular, some C++ member calls use a different code gen path, which did not include this call site attachment step, and thus the debug info it triggers (e.g. call site entries) was not emitted for such calls. This moves `DISubprogram` attachment to a lower-level call emission path that is used by all call variants. Fixes https://github.com/llvm/llvm-project/issues/161962
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions