llvm-project
f9193f3b - [DebugInfo] Preserve line and column number when merging debug info. (#129960)

Commit
262 days ago
[DebugInfo] Preserve line and column number when merging debug info. (#129960) This patch introduces a new option `-preserve-merged-debug-info` to preserve an arbitrary but deterministic version of debug information when DILocations are merged. This is intended to be used in production environments from which sample based profiles are derived such as AutoFDO and MemProf. With this patch we have see a 0.2% improvement on an internal workload at Google when generating AutoFDO profiles. It also significantly improves the ability for MemProf by preserving debug info for merged call instructions used in the contextual profile. --------- Co-authored-by: Krzysztof Pszeniczny <kpszeniczny@google.com>
Author
Snehasish Kumar
Parents
Loading