diff options
author | Christopher Ferris <cferris@google.com> | 2020-01-22 23:23:17 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2020-01-22 23:29:43 -0800 |
commit | 00a131f387e7cde76c30bd3fbbd81ab5d86adf49 (patch) | |
tree | f6a3a587f5282fa417b3f08a87741bdbc17db71f /libc/malloc_debug/tests/malloc_debug_unit_tests.cpp | |
parent | 96fbba1ea07c1496c3fbde86b19b935badc74084 (diff) |
Update for change MapInfo constructor.
Bug: 148075852
Test: Ran unit tests.
Change-Id: I8326d8db9887e2bba26d6d94786a72c49edc5d21
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_unit_tests.cpp')
-rw-r--r-- | libc/malloc_debug/tests/malloc_debug_unit_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp b/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp index c405c7f20..1298df774 100644 --- a/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp +++ b/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp @@ -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}}); |