[llvm] [NVPTX] Fix for LTO dwarf emission when multiple CUs with a mix of DebugDirectivesOnly and NoDebug (PR #190371)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 11:01:00 PDT 2026
================
@@ -2123,6 +2123,7 @@ class DICompileUnit : public DIScope {
DebugEmissionKind getEmissionKind() const {
return (DebugEmissionKind)EmissionKind;
}
+ bool isNoDebug() const { return EmissionKind == NoDebug; }
----------------
ayermolo wrote:
Please add description of this API.
https://github.com/llvm/llvm-project/pull/190371
More information about the llvm-commits
mailing list