[llvm] [SPIRV] Add support for NSDI DebugLocalVariable. (PR #221706)
Manuel Carrasco via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 03:38:35 PDT 2026
================
@@ -257,21 +257,30 @@ unsigned SPIRVNonSemanticDebugHandler::toNSDISrcLang(unsigned DwarfSrcLang) {
}
}
-// Collect distinct DILocations from LLVM IR. DebugLine pre-emission and MIR
-// lookups assume every machine-instruction debug location already appeared
-// here; a codegen-only location would not be collected and emission will be
-// skipped.
-static void collectUniqueDebugLocations(const Module &M,
- SetVector<const DILocation *> &Out) {
+// Collect distinct DILocations and DILocalVariables from LLVM IR. DebugLine
+// pre-emission and MIR lookups assume every machine-instruction debug location
----------------
mgcarrasco wrote:
Yes, thanks!
https://github.com/llvm/llvm-project/pull/221706
More information about the llvm-commits
mailing list