Merge "Update to support new shared_ptr returns." into main am: f5a0639899
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2825168 Change-Id: Ida5e791f9e2d8ec3041515d25e55d44ab3d2070b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
9270883a90
1 changed files with 2 additions and 1 deletions
|
@ -2825,7 +2825,8 @@ TEST_F(CrasherTest, verify_build_id) {
|
|||
}
|
||||
|
||||
prev_file = match[1];
|
||||
unwindstack::Elf elf(unwindstack::Memory::CreateFileMemory(prev_file, 0).release());
|
||||
auto elf_memory = unwindstack::Memory::CreateFileMemory(prev_file, 0);
|
||||
unwindstack::Elf elf(elf_memory);
|
||||
if (!elf.Init() || !elf.valid()) {
|
||||
// Skipping invalid elf files.
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue