[NFC][sanitizer] Iterator adaptors for Leb128 encoding
authorVitaly Buka <vitalybuka@google.com>
Tue, 30 Nov 2021 23:29:03 +0000 (15:29 -0800)
committerVitaly Buka <vitalybuka@google.com>
Fri, 3 Dec 2021 20:51:55 +0000 (12:51 -0800)
commit5f1d1854eb1450d352663ee732235893c5782237
treee1a2be9b20f56fddb3e12255635dde453ae0802a
parent6318001209932f075fd6f12439ec9e0327e9af05
[NFC][sanitizer] Iterator adaptors for Leb128 encoding

It's similar to back_insert_iterator

Needed for D114924

Reviewed By: morehouse, kstoimenov

Differential Revision: https://reviews.llvm.org/D114980
compiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp