diff options
author | Christopher Ferris <cferris@google.com> | 2018-10-04 08:41:10 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-10-04 08:41:10 -0700 |
commit | 6774cc5b9901097fcf9311e6cd91d0465919b77f (patch) | |
tree | 78d4b889ec421cf2282d2441e6378ce9b670cb11 | |
parent | 9df26193c8adc43a7ac1ba807e70d0b0772712c0 (diff) | |
download | bionic-6774cc5b9901097fcf9311e6cd91d0465919b77f.tar.gz |
Add new parameter for creation of MapInfo object.
Bug: 109657296
Test: Unit tests pass.
Change-Id: Ie33b50234fa9ba2c5107c3eb0da36a466bba1589
-rw-r--r-- | libc/malloc_debug/tests/malloc_debug_unit_tests.cpp | 2 |
1 files changed, 1 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 cd6d2c28e..2d6346fea 100644 --- a/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp +++ b/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp @@ -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}}); |