| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 269843
|
| |
|
|
| |
llvm-svn: 269842
|
| |
|
|
| |
llvm-svn: 269841
|
| |
|
|
|
|
|
|
|
| |
instead of having DwarfUnit query the debugger tuning options.
Follow-up commmit to r269827.
Thanks to Paul Robinson for pointing this out!
llvm-svn: 269840
|
| |
|
|
| |
llvm-svn: 269839
|
| |
|
|
| |
llvm-svn: 269838
|
| |
|
|
| |
llvm-svn: 269837
|
| |
|
|
| |
llvm-svn: 269836
|
| |
|
|
| |
llvm-svn: 269835
|
| |
|
|
|
|
|
| |
Fixes a bug in checking the endpoint of a shadow region and removes an
invalid check (both introduced in http://reviews.llvm.org/rL269198).
llvm-svn: 269834
|
| |
|
|
|
|
| |
Seems to have broken the Windows ASan bot. Reverting while investigating.
llvm-svn: 269833
|
| |
|
|
| |
llvm-svn: 269832
|
| |
|
|
|
|
| |
It doesn't matter if the comparison is unsigned; the inc/dec is always signed.
llvm-svn: 269831
|
| |
|
|
|
|
|
| |
This handles instructions where the defined register is also used, as in
"x = x + 1".
llvm-svn: 269830
|
| |
|
|
| |
llvm-svn: 269829
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch moves the expansion of WIN_ALLOCA pseudo-instructions
into a separate pass that walks the CFG and lowers the instructions
based on a conservative estimate of the offset between the stack
pointer and the lowest accessed stack address.
The goal is to reduce binary size and run-time costs by removing
calls to _chkstk. While it doesn't fix all the code quality problems
with inalloca calls, it's an incremental improvement for PR27076.
Differential Revision: http://reviews.llvm.org/D20263
llvm-svn: 269828
|
| |
|
|
|
|
|
| |
As discovered in PR27758, GDB does not fully support the DWARF 4 format.
This patch ensures we always emit bitfields in the DWARF 2 when tuning for GDB.
llvm-svn: 269827
|
| |
|
|
| |
llvm-svn: 269826
|
| |
|
|
| |
llvm-svn: 269812
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When processing inline asm that contains errors, make sure we can recover
gracefully by creating an UNDEF SDValue for the inline asm statement before
returning from SelectionDAGBuilder::visitInlineAsm. This is necessary for
consumers that don't exit on the first error that is emitted (e.g. clang)
and that would assert later on.
Fixes PR24071.
Patch by Diana Picus.
llvm-svn: 269811
|
| |
|
|
|
|
| |
Since several releases we do not ship any more with PoCC.
llvm-svn: 269809
|
| |
|
|
|
|
|
|
| |
structures""
This adds support for all the MachO *_command structures. The load_command payloads still are not represented, but that will come next.
llvm-svn: 269808
|
| |
|
|
|
|
|
|
|
|
| |
Fixes fdim piglit on Turks
v2: use CL fmax instead of __builtin
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <tom.stellard@amd.com>
llvm-svn: 269807
|
| |
|
|
|
|
| |
Since a long time Polly can automatically generate run-time alias checks.
llvm-svn: 269806
|
| |
|
|
| |
llvm-svn: 269805
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch is lifting matchers used by more than one checkers
to the common namespace.
Reviewers: aaron.ballman, alexfh
Subscribers: aaron.ballman, cfe-commits
Differential Revision: http://reviews.llvm.org/D19841
llvm-svn: 269804
|
| |
|
|
|
|
| |
The code fix for this was checked in at r269797.
llvm-svn: 269803
|
| |
|
|
|
|
|
| |
fix for long compilation [20061]
http://reviews.llvm.org/D20210
llvm-svn: 269802
|
| |
|
|
|
|
|
|
|
|
|
|
| |
As The default CMAKE install prefix is /usr/local ( https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html ),
sudo ninja install ends up installing clang, LLVM and libcxx under /usr/local.
In development scenario, when clang is run from the build location it will not
find libcxx at neither (build location)/../include/c++ nor /usr/include/c++.
This patch lets development clang find system installed libcxx without adding
-isystem /usr/local/include/c++. Also addresses the FIXME by explaining the
use-case for these include paths.
llvm-svn: 269801
|
| |
|
|
|
|
| |
The API is simpler. Suggested by David Blaikie!
llvm-svn: 269800
|
| |
|
|
|
|
|
|
| |
http://reviews.llvm.org/rL269291 introduced a memory leak.
Disabling offending call temprorary rather than rolling back the chain
of CLs.
llvm-svn: 269799
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Colons can appear in Windows paths after drive letters. Both colon and
semicolon are valid characters in filenames, but neither are very
common. Semicolon seems just as good, and makes the test pass on
Windows.
Reviewers: tejohnson
Subscribers: joker.eph, llvm-commits
Differential Revision: http://reviews.llvm.org/D20332
llvm-svn: 269798
|
| |
|
|
|
|
|
| |
This bug was introduced in r269728 and is the likely cause of many stage 2 ubsan bot failures.
I'll add a test in a follow-up commit assuming this fixes things properly.
llvm-svn: 269797
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Even if this is defined in the .cpp file and only used as part of the
function (so here it's safe), usually storing StringRefs in the class is
dangerous, so don't do so.
Reviewers: cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D20296
llvm-svn: 269796
|
| |
|
|
| |
llvm-svn: 269795
|
| |
|
|
| |
llvm-svn: 269794
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D20306
llvm-svn: 269793
|
| |
|
|
| |
llvm-svn: 269792
|
| |
|
|
|
|
|
| |
Guards are expected to basically never fail. Reflect this in the branch
probabilities in their lowered form.
llvm-svn: 269791
|
| |
|
|
|
|
|
|
|
|
| |
... for AddRec's in loops for which SCEV is unable to compute a max
tripcount. This is the NUW variant of r269211 and fixes PR27691.
(Note: PR27691 is not a correct or stability bug, it was created to
track a pending task).
llvm-svn: 269790
|
| |
|
|
|
|
| |
std::addressof
llvm-svn: 269789
|
| |
|
|
|
|
|
| |
This is currently unsupported. Accept and ignore the flag for invocation
compatibility.
llvm-svn: 269788
|
| |
|
|
| |
llvm-svn: 269787
|
| |
|
|
|
|
|
|
|
| |
If a use of a macro argument is preceded by the `namespace` keyword, do
not warn that the use should be wrapped in parentheses.
Patch by Mads Ravn!
llvm-svn: 269786
|
| |
|
|
|
|
| |
This reverts commit r269782 because it broke bots with -fpermissive.
llvm-svn: 269785
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when the object is in an archive to use something like libx.a(foo.o) as part of
the error message.
Also changed llvm-objdump and llvm-size to be like llvm-nm and ignore non-object
files in archives and not produce any error message.
To do this Archive::Child::getAsBinary() was changed from ErrorOr<...> to
Expected<...> then that was threaded up to its users.
Converting this interface to Expected<> from ErrorOr<> does involve
touching a number of places. To contain the changes for now the use of
errorToErrorCode() is still used in one place yet to be fully converted.
Again there some were bugs in the existing code that did not deal with the
old ErrorOr<> return values. So now with Expected<> since they must be
checked and the error handled, I added a TODO and a comments for those.
llvm-svn: 269784
|
| |
|
|
|
|
|
|
|
|
|
|
| |
minor fixes; other minor fixes.
Make generated code more readable.
Fix some Include What You Use warnings.
Differential revision: http://reviews.llvm.org/D20317
llvm-svn: 269783
|
| |
|
|
|
|
| |
This adds support for all the MachO *_command structures. The load_command payloads still are not represented, but that will come next.
llvm-svn: 269782
|
| |
|
|
| |
llvm-svn: 269781
|
| |
|
|
|
|
|
|
|
| |
In Chrome, this would have found two true positives around CreateThread
if we hadn't already fixed them while rolling out ASan. We didn't get
any other hits in Chrome. I'm curious to hear if this warning finds
anything in other projects.
llvm-svn: 269780
|