This fixes https://code.google.com/p/address-sanitizer/issues/detail?id=399
(sanitizers crash with empty suppression files).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D11284
[Sanitizer] Teach ReadFileToBuffer to distinguish empty file from inaccessible file. ClosedPublic Authored by samsonov on Jul 16 2015, 4:59 PM.
Details Summary This fixes https://code.google.com/p/address-sanitizer/issues/detail?id=399
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 17 2015, 2:19 PM Closed by commit rL242594: [Sanitizer] Teach ReadFileToBuffer to distinguish empty file from… (authored by samsonov). · Explain WhyJul 17 2015, 4:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 30051 compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps_common.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps_linux.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_suppressions.cc
compiler-rt/trunk/test/lsan/TestCases/suppressions_file.cc
|