| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
SIGSEGV/SIGBUS. Among other things this will allow to set up a death callback for SIGABRT and thus properly handle assert() in lib/Fuzzer
llvm-svn: 236474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
On ppc64le Fedora 21, getpwnam_r("no-such-user", ...) returns ENOENT
instead of 0. Tolerate this in the test case.
Reviewers: eugenis
Reviewed By: eugenis
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D9233
llvm-svn: 235654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Long story short: stop-the-world briefly resets SIGSEGV handler to SIG_DFL.
This breaks programs that handle and continue after SIGSEGV (namely JVM).
See the test and comments for details.
This is reincarnation of reverted r229678 (http://reviews.llvm.org/D7722).
Changed:
- execute TracerThreadDieCallback only on tracer thread
- reset global data in TracerThreadSignalHandler/TracerThreadDieCallback
- handle EINTR from waitpid
Add 3 new test:
- SIGSEGV during leak checking
- StopTheWorld operation during signal storm from an external process
- StopTheWorld operation when the program generates and handles SIGSEGVs
http://reviews.llvm.org/D8032
llvm-svn: 231367
|
|
|
|
| |
llvm-svn: 230996
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enabling internal ptrace for mips, which fixes some
ptrace related tests. Along with this fixing some
other failures.
Reviewers: Reviewers: eugenis, kcc, samsonov
Subscribers: dsanders, sagar, lldb-commits
Differential Revision: http://reviews.llvm.org/D7332
llvm-svn: 229656
|
|
|
|
|
|
| |
move GetRSS to sanitizer_linux_libcdep.cc (no change in the function itself)
llvm-svn: 227416
|
|
|
|
| |
llvm-svn: 226832
|
|
|
|
| |
llvm-svn: 226827
|
|
|
|
|
|
| |
Print a warning at verbosity=1 and higher instead of dying immediately.
llvm-svn: 226458
|
|
|
|
|
|
| |
And handle help=1 in standalone LSan.
llvm-svn: 226438
|
|
|
|
|
|
| |
seem like OOMs)
llvm-svn: 225478
|
|
|
|
| |
llvm-svn: 225323
|
|
|
|
| |
llvm-svn: 224353
|
|
|
|
|
|
| |
__asan_set_death_callback
llvm-svn: 224286
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This flag can be used to specify the format of stack frames - user
can now provide a string with placeholders, which should be printed
for each stack frame with placeholders replaced with actual data.
For example "%p" will be replaced by PC, "%s" will be replaced by
the source file name etc.
"DEFAULT" value enforces default stack trace format currently used in
all the sanitizers except TSan.
This change also implements __sanitizer_print_stack_trace interface
function in TSan.
llvm-svn: 221469
|
|
|
|
| |
llvm-svn: 221347
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test refers to user_regs_struct.rip so it can only ever have worked
on x86-64. Put this code inside an appropriate #if, and add a similar
case for PowerPC64. (If we do likewise for ARM we can probably remove
the XFAILs, but I have no way of testing that.)
Those changes are enough to get the test working for me on big-endian
PowerPC64 Fedora 19.
Differential Revision: http://reviews.llvm.org/D6108
llvm-svn: 221337
|
|
|
|
|
|
| |
inlined frames done in llvm-symbolizer
llvm-svn: 220582
|
|
|
|
|
|
|
|
|
| |
ASAN, UBSAN and profile tests that don't work with arm-linux-gnueabi and
android also don't work on armv7l-linux-gnueabihf. Some of the tests have
known causes, others not yet. In order to get a green bot, I'm disabling
those tests for now and will investigate when the priority rises.
llvm-svn: 219343
|
|
|
|
|
|
|
| |
We are interested in verifying that -gline-tables-only provides enough
debug information for verbose error reports and symbolized stack traces.
llvm-svn: 217284
|
|
|
|
| |
llvm-svn: 216459
|
|
|
|
| |
llvm-svn: 216454
|
|
|
|
|
|
| |
functionality change intended
llvm-svn: 216407
|
|
|
|
| |
llvm-svn: 215941
|
|
|
|
|
|
| |
accidentally enabled in r215479. Add a test.
llvm-svn: 215763
|
|
|
|
| |
llvm-svn: 215112
|
|
|
|
| |
llvm-svn: 213054
|
|
|
|
| |
llvm-svn: 212937
|
|
|
|
| |
llvm-svn: 212474
|
|
|
|
| |
llvm-svn: 212322
|
|
|
|
| |
llvm-svn: 211608
|
|
|
|
|
|
| |
This is a resubmit of r211166 reverted due to osx breakage.
llvm-svn: 211264
|
|
|
|
|
|
| |
This reverts commit r211166. It broke public mac os x bots.
llvm-svn: 211206
|
|
|
|
| |
llvm-svn: 211166
|
|
|
|
| |
llvm-svn: 210360
|
|
|
|
| |
llvm-svn: 209625
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch adds better target_triple and target_arch defaults for lit tests,
which allows us to XFAIL tests based on architecture.
Was:
target_triple = LLVM_DEFAULT_TARGET_TRIPLE
target_arch = HOST_ARCH
Now:
target_triple = COMPILER_RT_TEST_TARGET_TRIPLE
, otherwise LLVM_DEFAULT_TARGET_TRIPLE
target_arch = first item in COMPILER_RT_TEST_TARGET_TRIPLE
Differential Revision: http://reviews.llvm.org/D3855
llvm-svn: 209256
|
|
|
|
|
|
|
| |
When no matching record is found, getgrnam_r return 0 but sets result to NULL.
Should fix PR19734.
llvm-svn: 208773
|
|
|
|
| |
llvm-svn: 208755
|
|
|
|
|
|
|
|
| |
Move fflush and fclose interceptors to sanitizer_common.
Use a metadata map to keep information about the external locations
that must be updated when the file is written to.
llvm-svn: 208676
|
|
|
|
| |
llvm-svn: 208643
|
|
llvm-svn: 208378
|