diff options
author | Davide Italiano <ditaliano@apple.com> | 2020-04-15 12:28:34 -0700 |
---|---|---|
committer | Davide Italiano <ditaliano@apple.com> | 2020-04-15 12:29:34 -0700 |
commit | 5f87415efc1e57587272944a5f9b6745e4474660 (patch) | |
tree | b04bf6c1d9fb145aa90adb8ae90d821c3f28722d /llvm/lib/Object/IRObjectFile.cpp | |
parent | b2dff0dbeabc5bf0582d22d419c8a91d14359d89 (diff) | |
download | llvm-5f87415efc1e57587272944a5f9b6745e4474660.zip llvm-5f87415efc1e57587272944a5f9b6745e4474660.tar.gz llvm-5f87415efc1e57587272944a5f9b6745e4474660.tar.bz2 |
[LICM] Try to merge debug locations when sinking.
The current strategy LICM uses when sinking for debuginfo is
that of picking the debug location of one of the uses.
This causes stepping to be wrong sometimes, see, e.g. PR45523.
This patch introduces a generalization of getMergedLocation(),
that operates on a vector of locations instead of two, and try
to merge all them together, and use the new API in LICM.
<rdar://problem/61750950>
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions