History log of /external/compiler-rt/lib/msan/msan_report.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5d71de26cedae3dafc17449fe0182045c0bd20e8 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/msan/msan_report.cc
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/msan/msan_report.cc
2fb08720b11b4c339e191b90d85477c6a2dd74db 01-Nov-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Unify summary reporting across all sanitizers.

This change unifies the summary printing across sanitizers:
now each tool uses specific version of ReportErrorSummary() method,
which deals with symbolization of the top frame and formatting a
summary message. This change modifies the summary line for ASan+LSan mode:
now the summary mentions "AddressSanitizer" instead of "LeakSanitizer".


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
a96c4dc70efa6e45b27640cdd9812e0817c9a75d 01-Nov-2013 Alexey Samsonov <samsonov@google.com> Consistently use StackTrace::PrintStack in ASan, LSan and MSan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
66d91e3356a0c4d7aff3beaaaff3e87bbaec805c 31-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan.

Summary:
TSan and MSan need to know if interceptor was called by the
user code or by the symbolizer and use pre- and post-symbolization hooks
for that. Make Symbolizer class responsible for calling these hooks instead.
This would ensure the hooks are only called when necessary (during
in-process symbolization, they are not needed for out-of-process) and
save specific sanitizers from tracing all places in the code where symbolization
will be performed.

Reviewers: eugenis, dvyukov

Reviewed By: eugenis

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2067

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
7996a2e2a1c461743c9216f13429c04d75050230 29-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags to turn on/off the symbolization

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
db92faf488988543b18aaac537ac5ee4f4ee68a5 28-Oct-2013 Dmitry Vyukov <dvyukov@google.com> asan/msan: separate different report blocks with new lines

this makes the reports consistent with tsan, and much more readable.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
c1a1ed62228288155459d39194995a36aca4a8a6 26-Oct-2013 Peter Collingbourne <peter@pcc.me.uk> Overhaul the symbolizer interface.

This moves away from creating the symbolizer object and initializing the
external symbolizer as separate steps. Those steps now always take place
together.

Sanitizers with a legacy requirement to specify their own symbolizer path
should use InitSymbolizer to initialize the symbolizer with the desired
path, and GetSymbolizer to access the symbolizer. Sanitizers with no
such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for
initialization.

The symbolizer interface has been made thread-safe (as far as I can
tell) by protecting its member functions with mutexes.

Finally, the symbolizer interface no longer relies on weak externals, the
introduction of which was probably a mistake on my part.

Differential Revision: http://llvm-reviews.chandlerc.com/D1985

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
719df33ad1f14c760d53a4b7b51ff9664ebda535 25-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Separate access and origin blocks in msan reports with an extra whiteline.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193401 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
6866dba92ac842fc513ba339ba849a953ffb7507 15-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move verbosity flag to CommonFlags



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
90b0f1e3ba126bb2e92ab51ef379c98782c23d90 04-Oct-2013 Alexey Samsonov <samsonov@google.com> Refactor the usage of strip_path_prefix option and make it more consistent across sanitizers

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
6f3460595f10fb4740ccd0beaa888a0e47ed48cd 13-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Add source file:line to stack origin reports.

Runtime library part.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
7847d77b246635211c3bf465421d49d7af5226c1 10-Sep-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
650c7d44b659ddfb4af471dc2ad79a727b7de939 03-Sep-2013 Sergey Matveev <earthdok@google.com> [lsan] Colorize LSan reports.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
1f3c2fee395abc36230c445e9ebdba55c4729d35 29-May-2013 Alexey Samsonov <samsonov@google.com> Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
6ac157da0bcbd2951ee110d8da27eb188d2a3cd7 28-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Change report header to be more alike to ASan and TSan.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
0b4bf4d72be10ba114c9b1f73aca45acd0e44ddc 06-May-2013 Sergey Matveev <earthdok@google.com> [msan] Common flags in MSan.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181194 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
f1faf5d58afbc5286d4d75361956ab6ee0938e1a 12-Apr-2013 Alexey Samsonov <samsonov@google.com> [MSan] Demangle function name in description of stack origin

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
7ed46ff7af911da0dd2067734d1408c6986c6657 05-Apr-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Use a common mutex to prevent mixing reports from different sanitizers. This fixes PR15516

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
93c26022f362c9e0a6acbe3bf3c7c395e19e0835 06-Mar-2013 Reid Kleckner <reid@kleckner.net> [msan] Block reports from interceptors during _Unwind_Backtrace

Summary:
I'm hitting a big recursive report from:
uninit on strlen ->
__msan::PrintWarningWithOrigin() ->
__msan::GetStackTrace() ->
__sanitizer::StackTrace::SlowUnwindStack() ->
_Unwind_Backtrace() ->
... libgcc calls ->
uninit on strlen() ->
... repeats

Reviewers: eugenis

Differential Revision: http://llvm-reviews.chandlerc.com/D497

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176555 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
70c6e3fb6dfddb9c4d26ac133beb5f53b71e47d9 13-Feb-2013 Kostya Serebryany <kcc@google.com> [msan] don't check shadow inside interceptors if we are inside symbolizer; add weak function __msan_default_options that overrides default options

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
43fb7587fdc23d763ba4da8698e7218e9c04a6a9 12-Feb-2013 Alexey Samsonov <samsonov@google.com> [MSan] symbolize correct PC when printing Summary message

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
9af86761268fb0b0a1a5295370f68a503c8d38b5 11-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Lit tests for MemorySanitizer.

Build system setup for MSan lit tests (build with freshly-built clang, run,
check output) - a nearly exact copy from ASan.
First 2 lit tests for MSan.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174876 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
1d333c5a34d896f239001e3fe69a660e40d15301 07-Feb-2013 Kostya Serebryany <kcc@google.com> [msan] add strip_path_prefix flag; print error summary; don't crash while printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
ba5e99668e3030cc5bab357a04271a1bdbac209c 30-Jan-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] update style checker script and fix namespace style warnings

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
99bf1d71c634ab0ed39d7614fd8f8f2c2201e111 10-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Set program exit code in keep-going mode.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
4b48f4563ca25d8915155acc5837e195cf0e5c57 27-Dec-2012 Kostya Serebryany <kcc@google.com> [sanitizer] add statistics to the allocator; fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
c209ba663c30e2e578fa64811ba9efb537f51669 26-Dec-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] MSan, New Year Tree style.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc
db010dae23962ab6089ad1e97af176b7215cb35c 26-Dec-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Refactor report printing.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/msan/msan_report.cc