[PATCH] [compiler-rt] bug 23600 - sanitizer stack trace pc off by 1
Martin Sebor
msebor at gmail.com
Tue Jun 9 14:55:47 PDT 2015
Added a new test, test/asan/TestCases/print-stack-trace-pc-on-signal.cc, to verify that the PC printed in stack traces generated in response to a signal matches the PC obtained in the signal handler for frame #0 and the PC returned from __builtin_return_address for frames #1 and beyond.
Removed an incorrect change to GetPreviousInstructionPc for ARM.
Removed unnecessary changes to lit.* files.
http://reviews.llvm.org/D10065
Files:
lib/sanitizer_common/sanitizer_stacktrace.h
lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
test/asan/TestCases/print-stack-trace-pc-on-signal.cc
test/sanitizer_common/TestCases/print-stack-trace-pc.cc
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10065.27402.patch
Type: text/x-patch
Size: 13503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150609/d32dc094/attachment.bin>
More information about the llvm-commits
mailing list