- Nov 16, 2016
-
-
Filipe Cabecinhas authored
This patch adds support for instrumenting masked loads and stores under ASan, if they have a constant mask. isInterestingMemoryAccess now supports returning a mask to be applied to the loads, and instrumentMop will use it to generate additional checks. Added tests for v4i32 v8i32, and v4p0i32 (~v4i64) for both loads and stores (as well as a test to verify we don't add checks to non-constant masks). Differential Revision: https://reviews.llvm.org/D26230 llvm-svn: 287047
-
Sanjay Patel authored
llvm-svn: 287046
-
Artem Dergachev authored
A combination of C++ modules, variadic functions with more than one argument, and const globals in headers (all three being necessary) causes some releases of clang to misplace the matcher objects, which causes the linker to fail. No functional change - the extra allOf() matcher is no-op here. llvm-svn: 287045
-
Amaury Sechet authored
See https://reviews.llvm.org/D26392 Patch by @maleadt llvm-svn: 287044
-
Mehdi Amini authored
This reverts commit r287039, tests are broken. llvm-svn: 287043
-
Rafael Espindola authored
This seems far more natural. A user can create larger chunks if the overhead is too large. With this linking xul with "--threads --build-id=sha1 goes from 13.938177535 to 11.035953538 seconds on linux. llvm-svn: 287042
-
Justin Lebar authored
This fails with gcc because __builtin_isnan and friends, which libcpp_isnan and friends call, are not themselves constexpr-evaluatable. llvm-svn: 287041
-
Reid Kleckner authored
Users often have their own unhandled exception filters installed. ASan already goes to great lengths to install its own filter, but our core wars with Chrome crashpad have escalated to the point that its time to declare a truce. By exposing this hook, they can call us directly when they want ASan crash reporting without worrying about who initializes when. llvm-svn: 287040
-
Mehdi Amini authored
Instead of always displaying the mangled name, try to do better and get something closer to regular functions. Differential Revision: https://reviews.llvm.org/D26522 llvm-svn: 287039
-
Peter Collingbourne authored
This makes these thin archives portable between *nix and Windows. Differential Revision: https://reviews.llvm.org/D26696 llvm-svn: 287038
-
Chad Rosier authored
Differential Revision: https://reviews.llvm.org/D26674 llvm-svn: 287037
-
Chad Rosier authored
Differential Revision: https://reviews.llvm.org/D26673 llvm-svn: 287036
-
Tom Stellard authored
Reviewers: arsenm Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, llvm-commits, tony-tye Differential Revision: https://reviews.llvm.org/D26670 llvm-svn: 287035
-
Rui Ueyama authored
createManifestRes was generating a MemoryBuffer from a TemporaryFile, keeping the data but removing the file, before passing the file path to CVTRES.exe, leading to the following error: CVTRES : fatal error CVT1101: cannot open 'C:\Users\user\AppData\ Local\Temp\lld-output-resource-bfee19.res' for reading With this, we instead create a new TemporaryFile before passing it to cvtres. Patch from Rudy Pons! llvm-svn: 287034
-
Sanjay Patel authored
The ANDN test needs at least 3 different fixes. llvm-svn: 287032
-
Chad Rosier authored
llvm-svn: 287031
-
Kostya Serebryany authored
[sanitizer-coverage] make sure asan does not instrument coverage guards (reported in https://github.com/google/oss-fuzz/issues/84) llvm-svn: 287030
-
Kuba Brecka authored
[asan] Re-enable the use-after-scope-types.cc test on Darwin, now that r287028 fixed the llvm-symbolizer issue that broke this test. Differential Revision: https://reviews.llvm.org/D26537 llvm-svn: 287029
-
Kuba Brecka authored
Sometimes, llvm-symbolizer gives wrong results due to incorrect sizes of some symbols. The reason for that was an incorrectly sorted array in computeSymbolSizes. The comparison function used subtraction of unsigned types, which is incorrect. Let's change this to return explicit -1 or 1. Differential Revision: https://reviews.llvm.org/D26537 llvm-svn: 287028
-
Tim Northover authored
llvm-svn: 287027
-
Kuba Brecka authored
On Darwin, we're running the TSan unit tests without interceptors. To make sure TSan observes all the pthread events (thread creating, thread join, condvar signal, etc.) in tsan_posix.cc, we should call the pthread interceptors directly, as we already do in tsan_test_util_posix.cc. This fixes some flaky failures on Darwin bots. Differential Revision: https://reviews.llvm.org/D26639 llvm-svn: 287026
-
Alexey Bataev authored
Fixed possible use of stack variable after deletion. llvm-svn: 287025
-
Argyrios Kyrtzidis authored
[libclang] Generalize clang_getNumTemplateArguments and clang_getTemplateArgumentAsType to other kind of specializations. Patch by Emilio Cobos Álvarez! https://reviews.llvm.org/D26663 llvm-svn: 287024
-
Tim Northover authored
Specifically, we don't want to segfault on release builds, so print the problem instead. llvm-svn: 287022
-
Matt Arsenault authored
Also respect the TII hook for these like the generic code does in case we want a flag later to disable this. llvm-svn: 287021
-
Eric Fiselier authored
Adding a Clang Format file to libc++ and which style it should use has been discussed a couple of times. This patch finally adds a .clang-format file which specifies LLVM styles. Personally I dislike how the LLVM style handles much of the meta-programming in libc++. However the general consensus was that libc++ should prefer the LLVM style and make adjustments where needed. Note that using clang-format on changes is not required, especially for changes within the headers. However formatting tests should be encouraged. llvm-svn: 287020
-
Haicheng Wu authored
Lower a = b * C where C = (2^n + 1) * 2^m to add w0, w0, w0, lsl n lsl w0, w0, m Differential Revision: https://reviews.llvm.org/D229245 llvm-svn: 287019
-
Matt Arsenault authored
Fixes giving up on clustering common addr64 accesses with constant 0 soffset. llvm-svn: 287018
-
Zachary Turner authored
Differential Revision: https://reviews.llvm.org/D26618 llvm-svn: 287017
-
Zachary Turner authored
llvm-svn: 287016
-
Matt Arsenault authored
llvm-svn: 287015
-
Wei Mi authored
llvm-svn: 287014
-
Matt Arsenault authored
llvm-svn: 287013
-
Justin Lebar authored
Summary: This makes these functions available on host and device, which is necessary to compile <complex> for the device. Reviewers: hfinkel, EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25403 llvm-svn: 287012
-
Davide Italiano authored
llvm-svn: 287011
-
Rui Ueyama authored
This reverts part of r287009 because I accidentally changed binary files. llvm-svn: 287010
-
Rui Ueyama authored
llvm-svn: 287009
-
Eric Liu authored
llvm-svn: 287008
-
Stanislav Mekhanoshin authored
The wave barrier represents the discardable barrier. Its main purpose is to carry convergent attribute, thus preventing illegal CFG optimizations. All lanes in a wave come to convergence point simultaneously with SIMT, thus no special instruction is needed in the ISA. The barrier is discarded during code generation. Differential Revision: https://reviews.llvm.org/D26585 llvm-svn: 287007
-
Stanislav Mekhanoshin authored
The wave barrier represents the discardable barrier. Its main purpose is to carry convergent attribute, thus preventing illegal CFG optimizations. All lanes in a wave come to convergence point simultaneously with SIMT, thus no special instruction is needed in the ISA. The barrier is discarded during code generation. Differential Revision: https://reviews.llvm.org/D26584 llvm-svn: 287006
-