- Jun 03, 2014
-
-
David Majnemer authored
random_device::random_device(const string&) wrongly assumes that open can only validly return a file descriptor greater than zero. This results in random_device believing that it didn't successfully open the device causing it to throw in it's constructor, this ends up leaking a file descriptor. The fix is simple, don't error on file descriptors which are zero. llvm-svn: 210060
-
Alp Toker authored
llvm-svn: 210059
-
Alp Toker authored
The only remaining user didn't actually use the non-dynamic storage facility this class provides. The std::string is transitional and likely to be StringRefized shortly. llvm-svn: 210058
-
Rui Ueyama authored
Layout-before edges are no longer used for layout, but they are still there for dead-stripping. If we would just remove them from code, LLD would wrongly remove live atoms that were referenced by layout-befores. This patch fixes the issue. Before dead-stripping, it scans all atoms to construct a reverse map for layout-after edges. Dead- stripping pass uses the map to traverse the graph. Differential Revision: http://reviews.llvm.org/D3986 llvm-svn: 210057
-
Marshall Clow authored
llvm-svn: 210056
-
Hans Wennborg authored
This corresponds to the same change for the MS ABI in r209908. Differential Revision: http://reviews.llvm.org/D3993 llvm-svn: 210054
-
Greg Fitzgerald authored
No longer need to set ANDROID if COMPILER_RT_TEST_TARGET_TRIPLE is arm-linux-androideabi. No need to set ANDROID_COMMON_FLAGS. These flags are already in CMAKE_CXX_FLAGS which are used in try_compile(). llvm-svn: 210053
-
Rafael Espindola authored
The code was actually correct. Sorry for the confusion. I have expanded the comment saying why the analysis is valid to avoid me misunderstaning it again in the future. llvm-svn: 210052
-
- Jun 02, 2014
-
-
Greg Clayton authored
- Fix Xcode project to have source files for SBTypeEnumMember.h/SBTypeEnumMember.cpp in the right place - Rename a member variable to inluce "_sp" suffix since it is a shared pointer - Cleanup initialization code for TypeEnumMemberImpl to not warn about out of order initialization llvm-svn: 210051
-
Will Schmidt authored
Allow the tests to succeed with tne signext (or other) attribute is present. The attributes show up for Power, but not for x86*, so need to be appropriately wildcarded. llvm-svn: 210050
-
Rafael Espindola authored
llvm-svn: 210049
-
Rafael Espindola authored
This reverts commit r210029. It was not correctly handling cases where LHS and RHS had multiple but different sign bits. llvm-svn: 210048
-
Alexey Samsonov authored
llvm-svn: 210047
-
Todd Fiala authored
Change by Russell Harmon. Xcode project updates (and all errors therein) by Todd Fiala. llvm-svn: 210046
-
Eric Christopher authored
llvm-svn: 210045
-
Alexander Kornienko authored
Summary: No filters should affect the display of errors. Fixed a few tests, which had compile errors. We need to think what we should do with mapped errors (-Werror). Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3982 llvm-svn: 210044
-
Alexander Kornienko authored
Summary: This seems like a more appropriate reaction to the user specifying a single check with a wrong name, for example. Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3981 llvm-svn: 210043
-
Michael J. Spencer authored
llvm-svn: 210042
-
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
-
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
-