This is an archive of the discontinued LLVM Phabricator instance.

[NFC][Sanitizer] Make GetStackTrace a private method of BufferedStackTrace
ClosedPublic

Authored by yln on Feb 27 2019, 6:03 PM.

Details

Reviewers
vitalybuka
Summary

GetStackTrace is a private implementation detail of BufferedStackTrace.
Make it a private method.

Event Timeline

yln created this revision.Feb 27 2019, 6:03 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 27 2019, 6:03 PM
Herald added subscribers: llvm-commits, Restricted Project, kubamracek. · View Herald Transcript
vitalybuka accepted this revision.Feb 28 2019, 5:24 PM

LGTM, I asked exactly this in another review :)

compiler-rt/lib/asan/asan_stack.cc
31

I don't understand meaning of Runtime here.
Maybe UnwindRuntime -> UnwindImpl

Final decision is up to you
if you prefere Runtime, maybe UnwindByRuntime?

This revision is now accepted and ready to land.Feb 28 2019, 5:24 PM
yln marked 2 inline comments as done.Mar 1 2019, 9:48 AM
yln added inline comments.
compiler-rt/lib/asan/asan_stack.cc
31

Okay, let's go with UnwindImpl.

yln marked an inline comment as done.Mar 1 2019, 9:48 AM
yln closed this revision.Mar 1 2019, 3:13 PM

Closed by: 9fe3b4906f351292691cd594b30fe6cf7230b94d