Merge "Add new parameter for creation of MapInfo object."

am: 4b7c5cca7f

Change-Id: I57bef03ec0ed044cce23a70bcd18a95bc20bbca9
This commit is contained in:
Christopher Ferris 2018-10-04 15:48:27 -07:00 committed by android-build-merger
commit 0143ea885a

View file

@ -1463,7 +1463,7 @@ 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{0x10000, 0x20000, 0, PROT_READ | PROT_EXEC, "/data/fake.so"};
unwindstack::MapInfo map_info{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}});