[all-commits] [llvm/llvm-project] f48342: [BOLT] Reset output addresses for deleted blocks (...
Maksim Panchenko via All-commits
all-commits at lists.llvm.org
Sat Nov 25 23:24:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4834255d30d695fb89c4b566d65917a8e505ca2
https://github.com/llvm/llvm-project/commit/f4834255d30d695fb89c4b566d65917a8e505ca2
Author: Maksim Panchenko <maks at fb.com>
Date: 2023-11-25 (Sat, 25 Nov 2023)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
Log Message:
-----------
[BOLT] Reset output addresses for deleted blocks (#73429)
This is a follow-up to #73076. We need to reset output addresses for
deleted blocks, otherwise the address translation may mistakenly
attribute input address of a deleted block to a non-zero address.
While working on a test case, I've discovered that DWARF output ranges
were already broken for deleted basic blocks: #73428. I will provide a
test case for this PR with a DWARF address range fix PR.
More information about the All-commits
mailing list