- Nov 11, 2016
-
-
Saleem Abdulrasool authored
Include the cctype header to try to fix windows bots. llvm-svn: 286558
-
Rui Ueyama authored
llvm-svn: 286557
-
Saleem Abdulrasool authored
This is a replacement to binutils' string tool. It prints strings found in a binary (object file, executable, or archive library). It is rather bare and not functionally equivalent, however, it lays the groundwork necessary for the strings tool, enabling iterative development of features to reach feature parity. llvm-svn: 286556
-
Davide Italiano authored
llvm-svn: 286555
-
Davide Italiano authored
llvm-svn: 286554
-
Davide Italiano authored
This matches link.exe behaviour. Differential Revision: https://reviews.llvm.org/D26372 llvm-svn: 286553
-
Yaxun Liu authored
Remove redundant include file. llvm-svn: 286552
-
Davide Italiano authored
llvm-svn: 286551
-
Sean Fertile authored
llvm-svn: 286550
-
Davide Italiano authored
To be used in lld (and probably somewhere else in llvm). Differential Revision: https://reviews.llvm.org/D26538 llvm-svn: 286549
-
Rui Ueyama authored
llvm_shutdown could write something to outs or errs, so we need to flush them after calling llvm_shutdown. llvm-svn: 286548
-
Rui Ueyama authored
The previous code didn't make sense at all. Now an error condition is handled with fatal(). Thanks to Mehdi for pointing out the issue. llvm-svn: 286547
-
Mandeep Singh Grang authored
Reviewers: mehdi_amini Differential Revision: https://reviews.llvm.org/D26533 llvm-svn: 286546
-
Adam Nemet authored
With this the yellow (bubble) part of the remark shows up under the corresponding expression. llvm-svn: 286545
-
Matthias Braun authored
addSchedBarrierDeps() is supposed to add use operands to the ExitSU node. The current implementation adds uses for calls/barrier instruction and the MBB live-outs in all other cases. The use operands of conditional jump instructions were missed. Also added code to macrofusion to set the latencies between nodes to zero to avoid problems with the fusing nodes lingering around in the pending list now. Differential Revision: https://reviews.llvm.org/D25140 llvm-svn: 286544
-
Stephen Hines authored
Summary: This macro should be defined only when the user directly specifies an API level as part of an Android target. For any regular Android target, we leave this macro undefined. Bug: https://llvm.org/bugs/show_bug.cgi?id=30940 Reviewers: eugenis, pirama Subscribers: tberghammer, cfe-commits, pirama, eugenis, danalbert Differential Revision: https://reviews.llvm.org/D26491 llvm-svn: 286543
-
Jordan Rose authored
Take 3! This should finally fix the Hexagon, PPC, and Windows bots. rdar://problem/25846421 llvm-svn: 286542
-
Jordan Rose authored
This reverts commit r286533. At this point an array really is still an array, but the problem is with /non-/array va_lists anyway. llvm-svn: 286541
-
Adam Nemet authored
When a function is inlined, each instance is optimized in their own inlining context. This can produce different remarks all pointing to the same source line. This adds a new column on the source view to display the inlining context. llvm-svn: 286537
-
Adam Nemet authored
llvm-svn: 286536
-
Adam Nemet authored
llvm-svn: 286535
-
Richard Smith authored
function. In that case, there is no requirement that the callee is actually defined, and the code may in fact be valid and have defined behavior if the virtual call is unreachable. llvm-svn: 286534
-
Jordan Rose authored
PowerPC's va_list, at least, is a typedef for an array, which means it decays to a pointer in parameter position. Since the decayed type is built from the array element type, the typedef sugar is lost. More rdar://problem/25846421. llvm-svn: 286533
-
Adam Nemet authored
Uses pygments. llvm-svn: 286532
-
Jordan Rose authored
Platform headers don't always define 'va_list' in terms of Clang's '__builtin_va_list', so in addition to checking for our own synthesized decl, also just look for typedefs literally named 'va_list'. Better to err on the side of false negatives here. Fix-up for rdar://problem/25846421. llvm-svn: 286531
-
Stanislav Mekhanoshin authored
This reverts commit r286171, it breaks piglit test fs-discard-exit-2 llvm-svn: 286530
-
Davide Italiano authored
llvm-svn: 286529
-
Chris Bieneman authored
This is a small fix to the version output. llvm-svn: 286528
-
Joerg Sonnenberger authored
llvm-svn: 286527
-
Matthias Braun authored
There is no need to track dependencies for constant physregs, as they don't change their value no matter in what order you read/write to them. Differential Revision: https://reviews.llvm.org/D26221 llvm-svn: 286526
-
Jordan Rose authored
llvm-svn: 286525
-
Matthias Braun authored
The NamedRegionTimer initializer without a group name puts the Timer into the "Misc" group and is (nearly) unused. Remove it. The only user of this constructor appears to be the HexagonGenInsert pass, which creates a counter without group to count the complete execution time of that pass, however since every pass gets a counter by the PassManager anyway this should be unnecessary. Also removed the pointless TimerGroup there. Differential Revision: https://reviews.llvm.org/D25582 llvm-svn: 286524
-
Evandro Menezes authored
The generic infrastructure to compute the Newton series for reciprocal and reciprocal square root was conceived to allow a target to compute the series itself. However, the original code did not properly consider this condition if returned by a target. This patch addresses the issues to allow a target to compute the series on its own. Differential revision: https://reviews.llvm.org/D22975 llvm-svn: 286523
-
Jordan Rose authored
There are many non-portable typedefs, but va_list is one that nobody ever thinks of as a pointer or an array. (When's the last time you saw someone check for a NULL va_list?) Make an exception for this one special type. Part of rdar://problem/25846421. llvm-svn: 286522
-
Jordan Rose authored
...or within a reference. Both of these add an extra level of indirection that make us less certain that the pointer really was supposed to be non-nullable. However, changing the default behavior would be a breaking change, so we'll just make it a warning instead. Part of rdar://problem/25846421 llvm-svn: 286521
-
Jordan Rose authored
This is an addition to (and sub-warning of) -Wnullability-completeness that warns when an array parameter is missing nullability. When the specific warning is switched off, the compiler falls back to only warning on pointer types written as pointer types. Note that use of nullability /within/ an array triggers the completeness checks regardless of whether or not the array-specific warning is enabled; the intent there is simply to determine whether a particular header is trying to be nullability-aware at all. Part of rdar://problem/25846421. llvm-svn: 286520
-
Jordan Rose authored
Since array parameters decay to pointers, '_Nullable' and friends should be available for use there as well. This is especially important for parameters that are typedefs of arrays. The unsugared syntax for this follows the syntax for 'static'-sized arrays in C: void test(int values[_Nullable]); This syntax was previously accepted but the '_Nullable' (and any other attributes) were silently discarded. However, applying '_Nullable' to a typedef was previously rejected and is now accepted; therefore, it may be necessary to test for the presence of this feature: #if __has_feature(nullability_on_arrays) One important change here is that DecayedTypes don't always immediately contain PointerTypes anymore; they may contain an AttributedType instead. This only affected one place in-tree, so I would guess it's not likely to cause problems elsewhere. This commit does not change -Wnullability-completeness just yet. I want to think about whether it's worth doing something special to avoid breaking existing clients that compile with -Werror. It also doesn't change '#pragma clang assume_nonnull' behavior, which currently treats the following two declarations as equivalent: #pragma clang assume_nonnull begin void test(void *pointers[]); #pragma clang assume_nonnull end void test(void * _Nonnull pointers[]); This is not the desired behavior, but changing it would break backwards-compatibility. Most likely the best answer is going to be adding a new warning. Part of rdar://problem/25846421 llvm-svn: 286519
-
Argyrios Kyrtzidis authored
llvm-svn: 286518
-
Tim Northover authored
llvm-svn: 286517
-
Simon Pilgrim authored
llvm-svn: 286516
-