aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorSnehasish Kumar <snehasishk@google.com>2025-04-04 10:37:25 -0600
committerGitHub <noreply@github.com>2025-04-04 09:37:25 -0700
commitf9193f3b18f08547e2f92b5e354a44655bfc1b94 (patch)
tree76b1dc44c4fad8b1d12438d9f3f72eb11ced2f05 /clang/lib/Frontend/CompilerInstance.cpp
parent5acab1bd15004e0ab7af60d2c4919c189bd38520 (diff)
downloadllvm-f9193f3b18f08547e2f92b5e354a44655bfc1b94.zip
llvm-f9193f3b18f08547e2f92b5e354a44655bfc1b94.tar.gz
llvm-f9193f3b18f08547e2f92b5e354a44655bfc1b94.tar.bz2
[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>
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions