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

Commit 847b2a37 authored by David Srbecky's avatar David Srbecky
Browse files

Adjust libunwindstack MapInfo API

Test: m debuggerd_test
Change-Id: I63a2379bad3ace4755ae48bf0a83eaa0070f9077
parent 5d5e16db
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -33,8 +33,7 @@ class UnwinderMock : public unwindstack::Unwinder {
  void MockSetBuildID(uint64_t offset, const std::string& build_id) {
    unwindstack::MapInfo* map_info = GetMaps()->Find(offset);
    if (map_info != nullptr) {
      std::string* new_build_id = new std::string(build_id);
      map_info->build_id = new_build_id;
      map_info->SetBuildID(std::string(build_id));
    }
  }
};