mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user