- Jun 03, 2014
-
-
Alexey Samsonov authored
llvm-svn: 210041
-
Rafael Espindola authored
Patch by Rahul Jain. llvm-svn: 210040
-
Hans Wennborg authored
llvm-svn: 210039
-
Alexey Samsonov authored
Instrumentation passes now use attributes address_safety/thread_safety/memory_safety which are added by Clang frontend. Clang parses the blacklist file and adds the attributes accordingly. Currently blacklist is still used in ASan module pass to disable instrumentation for certain global variables. We should fix this as well by collecting the set of globals we're going to instrument in Clang and passing it to ASan in metadata (as we already do for dynamically-initialized globals and init-order checking). This change also removes -tsan-blacklist and -msan-blacklist LLVM commandline flags in favor of -fsanitize-blacklist= Clang flag. llvm-svn: 210038
-
Alexey Samsonov authored
Instrumentation passes now use attributes address_safety/thread_safety/memory_safety which are added by Clang frontend. Clang parses the blacklist file and adds the attributes accordingly. Currently blacklist is still used in ASan module pass to disable instrumentation for certain global variables. We should fix this as well by collecting the set of globals we're going to instrument in Clang and passing it to ASan in metadata (as we already do for dynamically-initialized globals and init-order checking). This change also removes -tsan-blacklist and -msan-blacklist LLVM commandline flags in favor of -fsanitize-blacklist= Clang flag. llvm-svn: 210037
-
Todd Fiala authored
See http://reviews.llvm.org/D3904 for details. Change by Scott Graham. llvm-svn: 210036
-
Todd Fiala authored
See http://reviews.llvm.org/D3944 for more details. Change by Zachary Turner. llvm-svn: 210035
-
Eric Christopher authored
llvm-svn: 210034
-
David Blaikie authored
llvm-svn: 210033
-
Andrea Di Biagio authored
When lowering a ISD::BRCOND into a test+branch, make sure that we always use the correct condition code to emit the test operation. This fixes PR19858: "i8 checked mul is wrong on x86". Patch by Keno Fisher! llvm-svn: 210032
-
- Jun 02, 2014
-
-
Daniel Jasper authored
llvm-svn: 210031
-
Timur Iskhodzhanov authored
[ASan Win] Manually call __asan_init early in the DLL initialization process to avoid a null function call in cout/cerr constructors llvm-svn: 210030
-
Rafael Espindola authored
We already had a function for checking this, we were just using it only in specialized cases. llvm-svn: 210029
-
Timur Iskhodzhanov authored
llvm-svn: 210028
-
Timur Iskhodzhanov authored
llvm-svn: 210027
-
Aaron Ballman authored
function parameter. One of our existing test cases was XFAILed because of this. This fixes the issue and un-XFAILs the test. llvm-svn: 210026
-
Alp Toker authored
Patch by Jack Howarth! llvm-svn: 210025
-
Evgeniy Stepanov authored
The alternative (writing coverage at process exit) is nearly useless there. llvm-svn: 210024
-
Evgeniy Stepanov authored
MSan is no longer an "early prototype". llvm-svn: 210023
-
Rafael Espindola authored
Looks like it was only used by dejagnu and is now dead. llvm-svn: 210022
-
Tilmann Scheller authored
[AArch64] Add some more regression tests for store pre-index update folding in the load/store optimizer. Add tests for the following transform: add x8, x8, #16 ... str X, [x8] -> str X, [x8, #16]! with X being either w0, x0, s0, d0 or q0. llvm-svn: 210021
-
Evgeniy Stepanov authored
llvm-svn: 210020
-
Nico Weber authored
Other tests in this directory use this type, so it's probably copypasta from there. (test_buf only forwards to the superclass in all tests where it's used though, so I wonder if it can be replaced with just using filebuf / wfilebuf everywhere?) llvm-svn: 210019
-
Tilmann Scheller authored
[AArch64] Add some more regression tests for load pre-index update folding in the load/store optimizer. Add tests for the following transform: add x8, x8, #16 ... ldr X, [x8] -> ldr X, [x8, #16]! with X being either w0, x0, s0, d0 or q0. llvm-svn: 210018
-
Daniel Jasper authored
There is a pattern where evaluation order is used as control flow. This patch special-cases a commonly occuring version of this pattern. Before: Aaaaa *aaa = nullptr; // ... aaa &&aaa->f(); After: Aaaaa *aaa = nullptr; // ... aaa && aaa->f(); llvm-svn: 210017
-
Daniel Jasper authored
llvm-svn: 210016
-
Rui Ueyama authored
llvm-svn: 210015
-
Rui Ueyama authored
llvm-svn: 210014
-
Daniel Jasper authored
Before: auto j = decltype(i) {}; After: auto j = decltype(i){}; This fixes llvm.org/PR19892. llvm-svn: 210013 -
Kostya Serebryany authored
llvm-svn: 210012
-
Daniel Jasper authored
Before: enum Side { LEFT, RIGHT }; After: enum Side { LEFT, RIGHT }; This fixes llvm.org/PR19911. llvm-svn: 210011 -
Daniel Jasper authored
Before: void someLongFunction(int someLongParameter) const { } After: void someLongFunction( int someLongParameter) const { } This fixes llvm.org/PR19912. llvm-svn: 210010 -
Evgeniy Stepanov authored
llvm-svn: 210009
-
Rui Ueyama authored
Reference::target() never returns a nullptr, so NULL check is not needed and is more harmful than doing nothing. No functionality change. llvm-svn: 210008
-
Dinesh Dwivedi authored
This patch can handles following cases from http://nondot.org/sabre/LLVMNotes/InstCombine.txt "((1 << X) & 7) == 0" ==> "X > 2" "((1 << X) & 7) != 0" ==> "X < 3". Differential Revision: http://reviews.llvm.org/D3678 llvm-svn: 210007
-
Dinesh Dwivedi authored
if ((x & C) == 0) x |= C becomes x |= C if ((x & C) != 0) x ^= C becomes x &= ~C if ((x & C) == 0) x ^= C becomes x |= C if ((x & C) != 0) x &= ~C becomes x &= ~C if ((x & C) == 0) x &= ~C becomes nothing Differential Revision: http://reviews.llvm.org/D3777 llvm-svn: 210006
-
Alp Toker authored
llvm-svn: 210005
-
Simon Atanasyan authored
No functional changes. llvm-svn: 210004
-
Alp Toker authored
Amend r210001 to use the classic fallback order behaviour if the requested graphing program isn't found. llvm-svn: 210003
-
Marshall Clow authored
Preparation for <string_view>. More helper functions that can be shared between <string> and <string_view>. No functionality change llvm-svn: 210002
-