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

Commit 813f909a authored by Florian Mayer's avatar Florian Mayer Committed by android-build-merger
Browse files

Merge "Allow to move frames out of Unwinder." am: 9f5e9978

am: 319f0225

Change-Id: I59d5ee18e3c59ad5f7e5e2ea299d0ae1c0ecc9b0
parents f2dcb675 319f0225
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -81,6 +81,12 @@ class Unwinder {

  const std::vector<FrameData>& frames() { return frames_; }

  std::vector<FrameData> ConsumeFrames() {
    std::vector<FrameData> frames = std::move(frames_);
    frames_.clear();
    return frames;
  }

  std::string FormatFrame(size_t frame_num);
  static std::string FormatFrame(const FrameData& frame, bool is32bit);