- Sep 20, 2013
-
-
Alexey Samsonov authored
llvm-svn: 191078
-
Alexander Potapenko authored
llvm-svn: 191077
-
Alexander Potapenko authored
Instead add the ASan runtime to the linker command line so that only the ASan API functions can be undefined in the target library. Fixes http://llvm.org/bugs/show_bug.cgi?id=17275 llvm-svn: 191076
-
Anders Waldenborg authored
This reverts r191030 llvm-svn: 191075
-
Dmitry Vyukov authored
llvm-svn: 191074
-
Craig Topper authored
llvm-svn: 191073
-
Dmitry Vyukov authored
llvm-svn: 191072
-
Andrew Trick authored
The global registry is used to allow command line override of the scheduler selection, but does not work well as the normal selection API. For example, the same LLVM process should be able to target multiple targets or subtargets. llvm-svn: 191071
-
Rui Ueyama authored
GNU LD driver only understood no_such_file_or_directory error and was showing just "Unknown Error" for any other type of error. With this patch, the driver now prints file name and error message string by default. llvm-svn: 191070
-
Rui Ueyama authored
llvm-svn: 191069
-
Richard Trieu authored
fields in the class. This allows a better checking of member intiailizers and in class initializers in regards to initialization ordering. For instance, this code will now produce warnings: class A { int x; int y; A() : x(y) {} // y is initialized after x, warn here A(int): y(x) {} // default initialization of leaves x uninitialized, warn here }; Several test cases were updated with -Wno-uninitialized to silence this warning. llvm-svn: 191068
-
Richard Smith authored
llvm-svn: 191067
-
Dmitry Vyukov authored
llvm-svn: 191066
-
Richard Smith authored
llvm-svn: 191065
-
Richard Smith authored
variable from being the function to being the enclosing namespace scope (in C++) or the TU (in C). This allows us to fix a selection of related issues where we would build incorrect redeclaration chains for such declarations, and fail to notice type mismatches. Such declarations are put into a new IdentifierNamespace, IDNS_LocalExtern, which is only found when searching scopes, and not found when searching DeclContexts. Such a declaration is only made visible in its DeclContext if there are no non-LocalExtern declarations. llvm-svn: 191064
-
Rui Ueyama authored
/incremental is an option to enable incremental linking. We will eventually want to implement the feature for better performance, but in the meantime, we want to just ignore the option so that the linker does not output unknown option error when it sees /incremental option. llvm-svn: 191063
-
Richard Smith authored
llvm-svn: 191062
-
Rui Ueyama authored
llvm-svn: 191061
-
David Blaikie authored
DebugInfo: GDBIndexEntry*String conversion functions now return const char* for easy llvm::formating This was previously invoking UB by passing a user-defined type to format. Thanks to Jordan Rose for pointing this out. llvm-svn: 191060
-
David Blaikie authored
These violations were introduced in r191049 llvm-svn: 191059
-
Rui Ueyama authored
If a subclass does not override the member function, the superclass's method takes care of string conversion of "file not found" error. This is a reasonable default behavior. Subclasses are still able to override to customize error messages. llvm-svn: 191058
-
Richard Smith authored
_Bool in C, if the macro is defined. Also teach FixItUtils to look at whether the macro was defined at the source location for which it is creating a fixit, rather than looking at whether it's defined *now*. This is especially relevant for analysis-based warnings which are delayed until end of TU. llvm-svn: 191057
-
Dmitry Vyukov authored
versioned symbols can not be linked into dynamic library w/o linker script also simplifies code as side effect llvm-svn: 191056
-
David Blaikie authored
Ensures that the pubnames entries actually refer to the intended entities. This test could be more flexible if there was a way to do multiline FileCheck matches with captures (in that way the test wouldn't need to have hardcoded offset values and would thus be resilient to changes in the layout of the DIEs in this CU). llvm-svn: 191055
-
Rui Ueyama authored
llvm-svn: 191054
-
Richard Mitton authored
llvm-svn: 191053
-
Richard Mitton authored
llvm-svn: 191052
-
Andrew Trick authored
This was an experimental scheduler a year ago. It's now used by several subtargets, both in-order and out-of-order, and it is about to be enabled by default for x86 and armv7. It will be the new GenericScheduler for subtargets that don't provide their own SchedulingStrategy. llvm-svn: 191051
-
David Blaikie authored
llvm-svn: 191050
-
Kai Nacke authored
C-like languages promote types like unsigned short to unsigned int before performing an arithmetic operation. Currently the rotate matcher in the DAGCombiner does not consider this situation. This commit extends the DAGCombiner in the way that the pattern (or (shl ([az]ext x), (*ext y)), (srl ([az]ext x), (*ext (sub 32, y)))) is folded into ([az]ext (rotl x, y)) The matching is restricted to aext and zext because in this cases the upper bits are either undefined or known. Test case is included. This fixes PR16726. llvm-svn: 191049
-
Kai Nacke authored
There is a buildbot failure. Need to investigate this. llvm-svn: 191048
-
Daniel Malea authored
- last remaining failure on the clang buildbot llvm-svn: 191047
-
Kaelyn Uhrain authored
When -fms-extensions is enabled, the typo correction was being called here on non-error paths (as in test/SemaTemplate/lookup-dependent-bases.cpp) and correct compilation depended on Sema::CorrectTypo not finding a viable candidate. llvm-svn: 191046
-
Kai Nacke authored
C-like languages promote types like unsigned short to unsigned int before performing an arithmetic operation. Currently the rotate matcher in the DAGCombiner does not consider this situation. This commit extends the DAGCombiner in the way that the pattern (or (shl ([az]ext x), (*ext y)), (srl ([az]ext x), (*ext (sub 32, y)))) is folded into ([az]ext (rotl x, y)) The matching is restricted to aext and zext because in this cases the upper bits are either undefined or known. Test case is included. This fixes PR16726. llvm-svn: 191045
-
Rui Ueyama authored
/errorReport is a command line option to let the linker to report internal linker error information to Microsoft. For LLD that option doesn't make any sense, so it just ignores the option. llvm-svn: 191044
-
David Blaikie authored
llvm-svn: 191043
-
Peter Collingbourne authored
Patch by Tom Roeder! llvm-svn: 191042
-
Daniel Malea authored
- tests are now anostic to the currently selected thread, as that is a frontend (i.e. driver) decision - this is in preparation to a fix to POSIXThread::BreakNotify that will be committed shortly Reviewed by: Matt Kopec llvm-svn: 191041
-
- Sep 19, 2013
-
-
Bill Wendling authored
<rdar://problem/7859988> llvm-svn: 191040
-
Benjamin Kramer authored
llvm-svn: 191039
-