[PATCH] D144337: Prevent line 0 instructions from dividing a lexical block into ranges

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 07:47:39 PDT 2023


probinson added a comment.

> (I think the most obvious/easy example is, if I recall correctly, line zero is used for merged function calls)

Actually, any merged instructions not originally from the same source location. (Because we don't have a way to represent multiple source locations for a single instruction.)

I agree with @dblaikie, for CV you can just eliminate the line-zero records without reference to UnknownLocations.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144337/new/

https://reviews.llvm.org/D144337



More information about the llvm-commits mailing list