- Jan 22, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 173158
-
Evgeniy Stepanov authored
llvm-svn: 173157
-
Evgeniy Stepanov authored
llvm-svn: 173156
-
Evgeniy Stepanov authored
llvm-svn: 173155
-
Evgeniy Stepanov authored
llvm-svn: 173154
-
Evgeniy Stepanov authored
Volatile bitfields can cause valid stores of uninitialized bits. llvm-svn: 173153
-
Evgeniy Stepanov authored
A runtime call is used instead. MSan will stop adding shadow checks on volatile stores soon. llvm-svn: 173152
-
Tim Northover authored
This is a follow-up to r171845, which fixes the same issue in the Support code. Only targets with >256 relocations (principally AArch64) should be affected. llvm-svn: 173151
-
Daniel Jasper authored
Before: A = new int * [10](); After: A = new int *[10](); llvm-svn: 173150
-
Alexander Potapenko authored
See https://code.google.com/p/address-sanitizer/issues/detail?id=131 llvm-svn: 173149
-
Chandler Carruth authored
generic function calls and intrinsics. This is somewhat overlapping with an existing intrinsic cost method, but that one seems targetted at vector intrinsics. I'll merge them or separate their names and use cases in a separate commit. This sinks the test of 'callIsSmall' down into TTI where targets can control it. The whole thing feels very hack-ish to me though. I've left a FIXME comment about the fundamental design problem this presents. It isn't yet clear to me what the users of this function *really* care about. I'll have to do more analysis to figure that out. Putting this here at least provides it access to proper analysis pass tools and other such. It also allows us to more cleanly implement the baseline cost interfaces in TTI. With this commit, it is now theoretically possible to simplify much of the inline cost analysis's handling of calls by calling through to this interface. That conversion will have to happen in subsequent commits as it requires more extensive restructuring of the inline cost analysis. The CodeMetrics class is now really only in the business of running over a block of code and aggregating the metrics on that block of code, with the actual cost evaluation done entirely in terms of TTI. llvm-svn: 173148
-
Alexey Samsonov authored
llvm-svn: 173146
-
NAKAMURA Takumi authored
llvm-svn: 173144
-
Alexander Potapenko authored
[ASan] Remove the declarations of pthread_workqueue_t and pthread_workitem_handle_t, which are used no more. Kudos to Jeremy Huddleston Sequoia <jeremyhu@apple.com> llvm-svn: 173143
-
Alexey Samsonov authored
llvm-svn: 173142
-
Tim Northover authored
llvm-svn: 173141
-
Alexander Potapenko authored
llvm-svn: 173140
-
Tim Northover authored
This change also makes the serialisation store the required semantics, fixing an issue where PPC128 was always assumed when re-reading a 128-bit value. llvm-svn: 173139
-
Tim Northover authored
Previously we tried to infer it from the bit width size, with an added IsIEEE argument for the PPC/IEEE 128-bit case, which had a default value. This default value allowed bugs to creep in, where it was inappropriate. llvm-svn: 173138
-
Alexander Potapenko authored
llvm-svn: 173137
-
Alexander Potapenko authored
We already have Darwin-specific version of this test. llvm-svn: 173136
-
Alexander Potapenko authored
This patch changes the behavior of the -fsanitize=address flag, making it use the dynamic runtime library (libclang_rt.asan_osx_dynamic.dylib) instead of the static one. It also drops the CoreFoundation dependency, since the dynamic runtime doesn't need it. llvm-svn: 173135
-
Alexander Potapenko authored
This CL drastically simplifies the way we're hooking the memory allocation routines in ASan on Mac by using dylib interposition to replace the main malloc_zone_* functions. This allows us to avoid replacing the default CFAllocator and drop the CF dependency at all. Committing this patch will result in the static runtime being broken. A follow-up CL will switch ASan to use the dynamic runtime library. llvm-svn: 173134
-
Alexey Samsonov authored
llvm-svn: 173133
-
Alexey Samsonov authored
ASan: disable flexible mapping and offset on Android. It doesn't work for dynamic ASan runtime there llvm-svn: 173132
-
Kostya Serebryany authored
llvm-svn: 173131
-
Kostya Serebryany authored
llvm-svn: 173130
-
Kostya Serebryany authored
[asan] split asan_test.cc to speedup parallel build (most important if building with a debug clang, which takes a couple of minutes on this large file with templates). More splits to follow llvm-svn: 173129
-
NAKAMURA Takumi authored
llvm-svn: 173128
-
NAKAMURA Takumi authored
llvm-svn: 173127
-
Michael Gottesman authored
allows for gvn to perform certain optimizations. Thus the runline should only contain -objc-arc-aa, not the full -objc-arc. llvm-svn: 173126
-
Shankar Easwaran authored
it looks like g++ 4.7.2 doesnot like bit fields when the type is a enumeration (Throws an error as bit-field with non integral type) llvm-svn: 173125
-
NAKAMURA Takumi authored
"Note that 'USEDLIBS' must include all of the core clang libraries when -static is given to linker on cygming." llvm-svn: 173124
-
NAKAMURA Takumi authored
llvm-svn: 173123
-
John McCall authored
We were previously hard-coding a particular field index. This was fine before (because we were obviously guaranteed the presence of a copy/dispose member) except for (1) alignment padding and (2) future extensions adding extra members to the header, such as the extended-layout pointer. Note that we only introduce the extended-layout pointer in the presence of structs. (We also seem to be introducing it even in the presence of an all-non-object layout, but that's a different potential issue.) llvm-svn: 173122
-
NAKAMURA Takumi authored
clang/test/Index/comment-to-html-xml-conversion.cpp: Mark this as XFAIL:valgrind, for now. Working in progress. llvm-svn: 173121
-
Daniel Dunbar authored
llvm-svn: 173120
-
Enrico Granata authored
llvm-svn: 173119
-
Sean Callanan authored
Avoids an error about an ambiguous constructor call. llvm-svn: 173118
-
Michael J. Spencer authored
llvm-svn: 173117
-