[all-commits] [llvm/llvm-project] f9193f: [DebugInfo] Preserve line and column number when m...
Snehasish Kumar via All-commits
all-commits at lists.llvm.org
Fri Apr 4 09:37:46 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f9193f3b18f08547e2f92b5e354a44655bfc1b94
https://github.com/llvm/llvm-project/commit/f9193f3b18f08547e2f92b5e354a44655bfc1b94
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths:
M llvm/docs/HowToUpdateDebugInfo.rst
M llvm/docs/SourceLevelDebugging.rst
M llvm/lib/IR/DebugInfoMetadata.cpp
A llvm/test/DebugInfo/pick-merged-source-locations.ll
Log Message:
-----------
[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 at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list