Merge "Allow to move frames out of Unwinder."

am: 9f5e9978c2

Change-Id: I02d888bed24ba754f6b8449676ec7d90ee279f4b
This commit is contained in:
Florian Mayer 2019-01-29 11:35:12 -08:00 committed by android-build-merger
commit 319f022506

View file

@ -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);