Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5af012d7 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Show the number of VMAs in the tombstone." am: 92c355cc am: dae30de4 am: f89042a4

am: d9a61638

Change-Id: I4e663238ab4edb5b8fbf15a56bb810df09604c68
parents 4a6b3d2a d9a61638
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -413,15 +413,17 @@ static void dump_all_maps(Backtrace* backtrace, BacktraceMap* map, log_t* log, p
  }

  ScopedBacktraceMapIteratorLock lock(map);
  _LOG(log, logtype::MAPS, "\n");
  if (!print_fault_address_marker) {
    _LOG(log, logtype::MAPS, "memory map:\n");
  } else {
    _LOG(log, logtype::MAPS, "memory map: (fault address prefixed with --->)\n");
  _LOG(log, logtype::MAPS,
       "\n"
       "memory map (%zu entries):\n",
       map->size());
  if (print_fault_address_marker) {
    if (map->begin() != map->end() && addr < map->begin()->start) {
      _LOG(log, logtype::MAPS, "--->Fault address falls at %s before any mapped regions\n",
           get_addr_string(addr).c_str());
      print_fault_address_marker = false;
    } else {
      _LOG(log, logtype::MAPS, "(fault address prefixed with --->)\n");
    }
  }

+2 −0
Original line number Diff line number Diff line
@@ -91,6 +91,8 @@ public:
  const_iterator begin() const { return maps_.begin(); }
  const_iterator end() const { return maps_.end(); }

  size_t size() const { return maps_.size(); }

  virtual bool Build();

  static inline bool IsValid(const backtrace_map_t& map) {