Merge "Update for change MapInfo constructor."

This commit is contained in:
Christopher Ferris 2020-01-23 17:45:26 +00:00 committed by Gerrit Code Review
commit c53b0e9603

View file

@ -1532,7 +1532,8 @@ TEST_F(MallocDebugTest, backtrace_full_dump_on_exit) {
BacktraceUnwindFake(
std::vector<unwindstack::LocalFrameData>{{nullptr, 0x1100, 0x100, "fake1", 10},
{nullptr, 0x1200, 0x200, "fake2", 20}});
unwindstack::MapInfo map_info{nullptr, 0x10000, 0x20000, 0, PROT_READ | PROT_EXEC, "/data/fake.so"};
unwindstack::MapInfo map_info{nullptr, nullptr, 0x10000, 0x20000, 0,
PROT_READ | PROT_EXEC, "/data/fake.so"};
BacktraceUnwindFake(
std::vector<unwindstack::LocalFrameData>{{&map_info, 0x1a000, 0xa000, "level1", 0},
{&map_info, 0x1b000, 0xb000, "level2", 10}});