| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
glibc recently changed ABI on aarch64-linux:
https://sourceware.org/git/?p=glibc.git;a=commit;h=5c40c3bab2fddaca8cfe12d75944d1fef8adf1a4
Instead of having unsigned short mode; unsigned short __pad1; it now has
unsigned int mode; field in ipc_perm structure.
This patch allows to build against the recent glibc and disables the
ipc_perm.mode verification for older versions of glibc.
I think it shouldn't be a big deal even for older glibcs, I couldn't find
any place which would actually care about the exact mode field, rather than
the whole structure, appart from the CHECK_SIZE_AND_OFFSET macro.
Patch by Jakub Jelinek
llvm-svn: 226637
|
|
|
|
| |
llvm-svn: 226636
|
|
|
|
|
|
|
| |
This change removes some debug output in asan_flags.cc that
was reading the verbosity level before all the flags were parsed.
llvm-svn: 226566
|
|
|
|
| |
llvm-svn: 226563
|
|
|
|
|
|
| |
Committed unreviewed with permission.
llvm-svn: 226462
|
|
|
|
|
|
| |
Print a warning at verbosity=1 and higher instead of dying immediately.
llvm-svn: 226458
|
|
|
|
|
|
|
|
|
| |
InternalAlloc is quite complex and its behavior may depend on the values of
flags. As such, it should not be used while parsing flags.
Sadly, LowLevelAlloc does not support deallocation of memory.
llvm-svn: 226453
|
|
|
|
| |
llvm-svn: 226452
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6892
llvm-svn: 226440
|
|
|
|
|
|
|
|
|
|
|
| |
Setting the maximum read size in FlagHandlerInclude to 2^15 might be a good
default, but causes the read to fail on systems with a page size larger than
that (ReadFileToBuffer(...) will fail if the maximum allowed size is less than
the value returned by GetPageSizeCached()). For example, on my PPC64/Linux
system, GetPageSizeCached() returns 2^16. In case the page size is larger, use
that instead.
llvm-svn: 226368
|
|
|
|
| |
llvm-svn: 226279
|
|
|
|
|
|
| |
Committed unreviewed with permission.
llvm-svn: 226276
|
|
|
|
|
|
| |
Committed unreviewed with permission.
llvm-svn: 226275
|
|
|
|
| |
llvm-svn: 226267
|
|
|
|
| |
llvm-svn: 226266
|
|
|
|
| |
llvm-svn: 226263
|
|
|
|
|
|
| |
Allows loading sanitizer options from file.
llvm-svn: 226175
|
|
|
|
|
|
|
| |
The new parser is a lot stricter about syntax, reports unrecognized
flags, and will make it easier to implemented some of the planned features.
llvm-svn: 226169
|
|
|
|
|
|
|
| |
pc_fd was not initialized to (-1) on some code paths, resulting in the program
erroneously closing stdin when reinitializing coverage.
llvm-svn: 225637
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
On Linux in some situations we can get SIGBUS instead of SIGSEGV on
stack overflow, so asan should handle SIGBUS as well as SIGSEGV.
https://code.google.com/p/address-sanitizer/issues/detail?id=369
Reviewers: samsonov, glider
Reviewed By: glider
Subscribers: glider, llvm-commits
Differential Revision: http://reviews.llvm.org/D6923
llvm-svn: 225630
|
|
|
|
| |
llvm-svn: 225546
|
|
|
|
| |
llvm-svn: 225472
|
|
|
|
|
|
| |
This should fix https://code.google.com/p/address-sanitizer/issues/detail?id=368.
llvm-svn: 225469
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6825
llvm-svn: 225443
|
|
|
|
| |
llvm-svn: 225336
|
|
|
|
| |
llvm-svn: 225323
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Introduce a single place where we specify flag type, name, default
value, and description. This removes a large amount of boilerplate
and ensures we won't leave flags uninitialized.
Test Plan: regression test suite
Reviewers: kcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6851
llvm-svn: 225239
|
|
|
|
|
|
| |
instead of just one (otherwise files of > 2Gb are trunkated). Also a minor adjustment to the trace collection.
llvm-svn: 225230
|
|
|
|
| |
llvm-svn: 225111
|
|
|
|
|
|
| |
guard page to trace array, fix the trace IDs before dumping
llvm-svn: 225108
|
|
|
|
|
|
| |
coverage
llvm-svn: 225103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
initialization.""
Fix test failures by introducing CommonFlags::CopyFrom() to make sure
compiler doesn't insert memcpy() calls into runtime code.
Original commit message:
Protect CommonFlags singleton by adding const qualifier to
common_flags() accessor. The only ways to modify the flags are
SetCommonFlagsDefaults(), ParseCommonFlagsFromString() and
OverrideCommonFlags() functions, which are only supposed to be
called during initialization.
llvm-svn: 225088
|
|
|
|
|
|
|
|
|
|
| |
We've got some internal users that either aren't compatible with this or
have found a bug with it. Either way, this is an isolated cleanup and so
I'm reverting it to un-block folks while we investigate. Alexey and
I will be working on fixing everything up so this can be re-committed
soon. Sorry for the noise and any inconvenience.
llvm-svn: 225079
|
|
|
|
|
|
| |
fork()
llvm-svn: 225016
|
|
|
|
|
|
| |
Useful e.g. if the user only needs coverage is bitset
llvm-svn: 225002
|
|
|
|
| |
llvm-svn: 224999
|
|
|
|
| |
llvm-svn: 224988
|
|
|
|
|
|
| |
memory range
llvm-svn: 224987
|
|
|
|
|
|
| |
The change in r224819 started using internal_unlink in a sanitizer_common unit test. For some reason, internal_unlink is not defined in sanitizer_mac.cc, fixing that.
llvm-svn: 224910
|
|
|
|
| |
llvm-svn: 224863
|
|
|
|
| |
llvm-svn: 224858
|
|
|
|
|
|
| |
to make it easier to debug startup shadow mapping failures
llvm-svn: 224856
|
|
|
|
|
|
|
| |
This increases the limit from 4M locations to 16M, reserving
64Mb virtual memory. Chrome has >5M unique coverage locations with coverage=3.
llvm-svn: 224855
|
|
|
|
|
|
|
|
| |
This is a re-commit of r224838 + r224839, previously reverted in r224850.
Test failures were likely (still can not reproduce) caused by two lit tests
using the same name for an intermediate build target.
llvm-svn: 224853
|
|
|
|
|
|
| |
This will prevent ASan bots from hanging / timing out
llvm-svn: 224852
|
|
|
|
|
|
| |
Flaky failures on the build bots.
llvm-svn: 224850
|
|
|
|
| |
llvm-svn: 224841
|
|
|
|
| |
llvm-svn: 224840
|
|
|
|
|
|
| |
Looks like we can't use atexit() during ASan initialization on Windows.
llvm-svn: 224839
|
|
|
|
| |
llvm-svn: 224838
|