[SIL] RemarkStreamer: Use mangled function names

Remarks emitted by LLVM use the mangled function name. Be consistent
with LLVM when serializing SIL remarks, so external tools can properly
filter for all remarks attributed to a certain function.
This commit is contained in:
Tobias Stadler
2025-06-06 14:58:05 +01:00
parent 9259c3eec4
commit 4b0c0001bc
6 changed files with 12 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ public func bar() {
// YAML: File: {{.*}}opt-record.swift
// YAML: Line: [[@LINE-6]]
// YAML: Column: 3
// YAML-NEXT: Function: 'bar()'
// YAML-NEXT: Function: '$s12optrecordmod3baryyF'
// YAML-NEXT: Args:
// YAML-NEXT: - Callee: '"optrecordmod.foo()"'
// YAML-NEXT: DebugLoc: