- May 20, 2013
-
-
Kostya Serebryany authored
[sanitizer] factor out ByteMap from SizeClassAllocator32 so that it can be later replaced with a more memory-efficient implementation on 64-bit. llvm-svn: 182234
-
- May 19, 2013
-
-
Richard Smith authored
llvm-svn: 182218
-
- May 18, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 182198
-
David Blaikie authored
llvm-svn: 182177
-
- May 17, 2013
-
-
Peter Collingbourne authored
Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. llvm-svn: 182132
-
Peter Collingbourne authored
Introduce a new object library, RTSanitizerCommonLibc, which will contain the subset of sanitizer_common with libc dependencies. RTSanitizerCommon contains the remainder of sanitizer_common, and is intended to have no libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting with sanitizer_common.cc, whose libc-dependent portion is moved to sanitizer_common_libcdep.cc, the first member of the new library. This split affects the CMake build only. The makefile build continues to produce the full sanitizer_common library. llvm-svn: 182118
-
Evgeniy Stepanov authored
llvm-svn: 182110
-
Alexander Potapenko authored
[ASan] Make the regression test for time(NULL) Linux-specific, as it crashes on Darwin (and the problem used to occur on Linux). Do not use zero-based shadow for the time() test. llvm-svn: 182107
-
Evgeniy Stepanov authored
llvm-svn: 182094
-
Evgeniy Stepanov authored
llvm-svn: 182093
-
Dmitry Vyukov authored
it was added to debug mysterious hangs, but it does not seem to happen anymore now it only clutter up output llvm-svn: 182089
-
Dmitry Vyukov authored
this is required to handle Object.Wait() llvm-svn: 182088
-
Dmitry Vyukov authored
llvm-svn: 182087
-
Alexander Potapenko authored
[ASan] Fix allow_user_segv.cc on Darwin (32-bit build required a SIGBUS handler instead of the SIGSEGV one) llvm-svn: 182080
-
- May 16, 2013
-
-
Alexander Potapenko authored
llvm-svn: 182010
-
Alexander Potapenko authored
llvm-svn: 182008
-
Kostya Serebryany authored
llvm-svn: 182006
-
Kostya Serebryany authored
[asan] symbolize when possible, even if ASAN_SYMBOLIZER_PATH is not provided. On Linux this will use dl_iterate_phdr instead of /proc/self/maps, even if the symbolizer is not installed llvm-svn: 182005
-
Evgeniy Stepanov authored
llvm-svn: 182004
-
Sergey Matveev authored
llvm-svn: 182002
-
Kostya Serebryany authored
llvm-svn: 181992
-
Kostya Serebryany authored
llvm-svn: 181991
-
Kostya Serebryany authored
[sanitizer] fix the GetBlockBegin overflow bug while preserving the performance optimization (use 32-bit division when possible). Improve the benchmarks that checks for performance of GetBlockBegin/GetMetaData llvm-svn: 181989
-
Kostya Serebryany authored
[sanitizer] added a test for a bug in allocator discovered by Sergey Matveev (uint32 overflow in GetBlockBegin) llvm-svn: 181984
-
- May 15, 2013
-
-
Bill Wendling authored
The calls to fwrite/fread can be very expensive. GCC avoids this by using a buffer to read and write from the file, thus limiting the number of fwrite/fread calls. <rdar://problem/13466086> llvm-svn: 181924
-
Kostya Serebryany authored
llvm-svn: 181890
-
Kostya Serebryany authored
llvm-svn: 181881
-
- May 14, 2013
-
-
Sergey Matveev authored
llvm-svn: 181796
-
Sergey Matveev authored
llvm-svn: 181793
-
Sergey Matveev authored
llvm-svn: 181791
-
Evgeniy Stepanov authored
llvm-svn: 181790
-
Sergey Matveev authored
llvm-svn: 181787
-
Sergey Matveev authored
llvm-svn: 181786
-
Kostya Serebryany authored
llvm-svn: 181763
-
- May 13, 2013
-
-
Sylvestre Ledru authored
llvm-svn: 181708
-
Sergey Matveev authored
llvm-svn: 181698
-
Sergey Matveev authored
Original patch by Abdoulaye Walsimou Gaye. llvm-svn: 181697
-
- May 08, 2013
-
-
Peter Collingbourne authored
llvm-svn: 181457
-
Peter Collingbourne authored
llvm-svn: 181440
-
Peter Collingbourne authored
This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 llvm-svn: 181436
-