diff options
author | Julian Lettner <jlettner@apple.com> | 2019-02-22 22:03:09 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-02-22 22:03:09 +0000 |
commit | 5ad975835d3443bb5d3a6a23b3ae3ba86c4839b1 (patch) | |
tree | 3a8b15d16c3dc2947a6ec4e639cf61bd51b2e8cd /lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc | |
parent | f37bf2fef6bb48666e9065dd67b168fcf8b93c96 (diff) | |
download | compiler-rt-5ad975835d3443bb5d3a6a23b3ae3ba86c4839b1.tar.gz |
[NFC][Sanitizer] Rename BufferedStackTrace::FastUnwindStack
FastUnwindStack -> UnwindFast
SlowUnwindStack -> UnwindSlow
Stack is redundant, verb should come first.
SlowUnwindStackWithContext(uptr pc, void *context, u32 max_depth) ->
SlowUnwindStack
WithContext is redundant, since it is a required parameter.
Reviewers: vitalybuka
Differential Revision: https://reviews.llvm.org/D58551
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@354696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc')
-rw-r--r-- | lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc b/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc index d7ac91674..45eb1b26e 100644 --- a/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc +++ b/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc @@ -58,9 +58,9 @@ void FastUnwindTest::SetUp() { // Mark the last fp point back up to terminate the stack trace. fake_stack[RoundDownTo(fake_stack_size - 1, 2)] = (uhwptr)&fake_stack[0]; - // Top is two slots past the end because FastUnwindStack subtracts two. + // Top is two slots past the end because UnwindFast subtracts two. fake_top = (uhwptr)&fake_stack[fake_stack_size + 2]; - // Bottom is one slot before the start because FastUnwindStack uses >. + // Bottom is one slot before the start because UnwindFast uses >. fake_bottom = (uhwptr)mapping; start_pc = PC(0); } |