Update to support new shared_ptr returns.
Bug: 309857311 Test: All unit tests pass. Change-Id: Ia44ebeb558d3d1101ab63b064731656f0f89c487
This commit is contained in:
parent
0ac91e1f02
commit
1503890fc6
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