diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2024-09-20 13:56:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 13:56:43 +0100 |
commit | 2f50b280dc8e995ef67ad31a5f71adc4c270890d (patch) | |
tree | e678921dfe09f6e3e130854e4ea26f92edbc7f63 /libcxx/src/algorithm.cpp | |
parent | 1808fc13c83c0bffb7e61adf1bb26a3097bc3c81 (diff) | |
download | llvm-2f50b280dc8e995ef67ad31a5f71adc4c270890d.zip llvm-2f50b280dc8e995ef67ad31a5f71adc4c270890d.tar.gz llvm-2f50b280dc8e995ef67ad31a5f71adc4c270890d.tar.bz2 |
[DebugInfo] Enable deprecation of iterator-insertion methods (#102608)
This is an almost-final step in eliminating debug-intrinsics -- read more
about that here: https://llvm.org/docs/RemoveDIsDebugInfo.html . To
correctly update variable location information in the background when
inserting instructions, we need some information carried at runtime in
BasicBlock::iterator, hence deprecating pointer-insertion.
An immediate fix for any deprecation warnings is to call "getIterator"
on the insertion position pointer. If you intend on inserting at the start
of a block, use BB->begin() or similar methods to fetch the appropriate
iterator.
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions