summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-08 10:44:06 -0700
committerElliott Hughes <enh@google.com>2019-05-08 11:00:32 -0700
commita22ac0f07ed9640dcd3a17b94076b01fd1cf48df (patch)
tree22b2dda9d633dc84e8868109cbeda284b161aed1 /libunwindstack/tests/MemoryFileTest.cpp
parent1d5745fb4046b127e0c72ccaf603059a40e4766e (diff)
libziparchive: start moving to a non-ZipString StartIteration API.
Same issue as with FindEntry: using ZipString in the API forces all callers to make sure they don't hit the ZipString length limits. Switch to std::string_view and uniformly use the empty string as a way to signal no prefix/suffix rather than nullptr. Also use default arguments to make the common case of no prefix and no suffix more convenient. Also just use std::string to increase the lifetime of the provided prefix/suffix rather than manual memory management. Bug: http://b/129068177 Test: treehugger Change-Id: I6675e39ce62fadd766386d77d27423013c17d6f7
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions