[PATCH] D144337: Prevent line 0 instructions from dividing a lexical block into ranges
ykhatav via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 8 15:18:43 PST 2023
ykhatav added a comment.
In D144337#4172962 <https://reviews.llvm.org/D144337#4172962>, @dblaikie wrote:
> Does this need a flag? The patch describes doing this for CodeView? Could/should it be done unconditionally for CV?
The flag keeps the line zero entries in the line table by default and when calculating ranges it is probably safer to keep the original behavior.
Although the DWARF format has the ability to describe the split address ranges, it is possible that the lexical blocks with split address ranges can result in buggy behavior on Linux as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144337/new/
https://reviews.llvm.org/D144337
More information about the llvm-commits
mailing list