| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eliminate the copies LLVM's System mmap and cache invalidation code. These were
slowly drifting away from the original version, and moreover the copied code
was a dead end in terms of portability.
We now statically link to Support but in practice with stripping this adds next
to no weight to the resultant binary.
Also avoid installing lli-child-target to the user's $PATH. It's not meant to
be run directly.
llvm-svn: 199881
|
| |
|
|
| |
llvm-svn: 199880
|
| |
|
|
|
|
| |
r199874.
llvm-svn: 199879
|
| |
|
|
| |
llvm-svn: 199878
|
| |
|
|
| |
llvm-svn: 199877
|
| |
|
|
|
|
| |
No functional change since the InstrItinData's have been duplicated.
llvm-svn: 199876
|
| |
|
|
| |
llvm-svn: 199875
|
| |
|
|
|
|
| |
These were lost in a refactoring a long time ago.
llvm-svn: 199874
|
| |
|
|
|
|
|
|
| |
warning: ISO C99 requires rest arguments to be used [enabled by default]
INTERCEPTOR(char *, dlerror) {
warning: invoking macro INTERCEPTOR argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
llvm-svn: 199873
|
| |
|
|
|
|
|
|
|
|
|
| |
New/delete implementations in system libraries almost always are built without
frame pointers. As we switched to frame pointer based unwinder on ARM, they no
longer work for us, resulting in broken allocation/deallocation stacks.
Note that this does not work with statically linked
libstdc++/libc++/libstlport.
llvm-svn: 199872
|
| |
|
|
|
|
|
|
|
|
|
|
| |
e.g. linkonce, to TargetMachine and set it when we've done so
for ELF targets currently. This involved making TargetMachine
non-const in a TLOF use and propagating that change around - I'm
open to other ideas.
This will be used in a future commit to handle emitting debug
information with ranges.
llvm-svn: 199871
|
| |
|
|
|
|
|
|
| |
Some ABIs have different return types for constructors and
destructors, and we're just looking for the end of the function
here. Loosen up the regex.
llvm-svn: 199870
|
| |
|
|
|
|
|
|
|
|
|
| |
If there are non-trivially-copyable types /other/ than C++ records, we
won't have a synthesized copy expression, but we can't just use a simple
load/return.
Also, add comments and shore up tests, making sure to test in both ARC
and non-ARC.
llvm-svn: 199869
|
| |
|
|
|
|
| |
Now we'll get a warning if we miss a case. Refinement of r199800.
llvm-svn: 199868
|
| |
|
|
|
|
| |
match argument type.
llvm-svn: 199867
|
| |
|
|
|
|
|
| |
As vcles_f32() and vcled_f64 are implemented by FCMGE, operands
should make a swap.
llvm-svn: 199866
|
| |
|
|
|
|
|
| |
This adds tests for both logical or and for logical and, which was
already correct.
llvm-svn: 199865
|
| |
|
|
| |
llvm-svn: 199864
|
| |
|
|
|
|
|
|
|
| |
This test requires asserts for now, and exception handling has an
awkward structure that leads to extra run lines. Because of this, the
test file's not a great place for other C++ PGO tests, but
instr-profile.cpp is obviously the better name for them.
llvm-svn: 199863
|
| |
|
|
| |
llvm-svn: 199862
|
| |
|
|
|
|
| |
r199461.
llvm-svn: 199861
|
| |
|
|
| |
llvm-svn: 199860
|
| |
|
|
| |
llvm-svn: 199859
|
| |
|
|
|
|
| |
backend.
llvm-svn: 199858
|
| |
|
|
|
|
|
|
| |
format should prevail over whatever format(s) a summary specifies
(see test case for an example)
llvm-svn: 199857
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a bug under Linux where spawning a process via
Host::LaunchProcess was disabling all blockable signals on the
launched process. This caused strange behavior when attempting
to kill the lldb-gdbserver process, as the child generally would
not die unless killed with a non-blockable signal (e.g. 'kill -9').
This change moves several functions out of macosx/Host.mm into
common/Host.cpp. In addition, two functions that needed to work
across common/Host.cpp and macosx/Host.mm were moved into the Host.h
header file.
llvm-svn: 199856
|
| |
|
|
| |
llvm-svn: 199855
|
| |
|
|
|
|
| |
<rdar://problem/15312873>
llvm-svn: 199854
|
| |
|
|
| |
llvm-svn: 199853
|
| |
|
|
|
|
|
|
| |
Removes some old code that allowed a module to be loaded from a pcm file
even if the module.map could not be found. Also update a number of
tests that relied on the old behavior.
llvm-svn: 199852
|
| |
|
|
|
|
|
|
|
|
| |
This patch updates .set mips16 support which
affects the ELF ABI and its flags. In addition the patch uses
a common interface for both the MipsTargetSteamer and
MipsObjectStreamer that the assembler uses for
both ELF and ASCII output for these directives.
llvm-svn: 199851
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
create an implicit declaration of it (because some type it depends on is
unavailable). This had the effect of causing us to not implicitly give it the
right attributes. It turns out that glibc's __sigsetjmp is declared before
sigjmp_buf is declared, and this resulted in us not implicitly giving it
__attribute__((returns_twice)), which in turn resulted in miscompiles in any C
code calling glibc's sigsetjmp.
(See also the vaguely-related sourceware.org/PR4662.)
llvm-svn: 199850
|
| |
|
|
|
|
|
|
| |
QOI improvement.
Differential Revision: http://llvm-reviews.chandlerc.com/D2059
llvm-svn: 199848
|
| |
|
|
|
|
|
|
|
|
| |
the pointer type is illegal.
This is a horrible bit of code. We're calling a simplification routine *in the middle* of type legalization. We tell the
simplification routine that it's running after legalization, but some of the types it will encounter will be illegal! The
fix is only to invoke the simplification if the types in question were legal, so that none of its invariants will be violated.
llvm-svn: 199847
|
| |
|
|
| |
llvm-svn: 199846
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 35b8331cad6eb512a2506adbc394201181da94ba.
The -debug-only flag for llc doesn't appear to be available in
all build configurations.
llvm-svn: 199845
|
| |
|
|
|
|
|
| |
The execution code path crashes if it can't execute the binary so we might as
well take precautions here.
llvm-svn: 199844
|
| |
|
|
|
|
| |
Fixes pr18508.
llvm-svn: 199843
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The CF stack can be corrupted if you use CF_ALU_PUSH_BEFORE,
CF_ALU_ELSE_AFTER, CF_ALU_BREAK, or CF_ALU_CONTINUE when the number of
sub-entries on the stack is greater than or equal to the stack entry
size and sub-entries modulo 4 is either 0 or 3 (on cedar the bug is
present when number of sub-entries module 8 is either 7 or 0)
We choose to be conservative and always apply the work-around when the
number of sub-enries is greater than or equal to the stack entry size,
so that we can safely over-allocate the stack when we are unsure of the
stack allocation rules.
reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 199842
|
| |
|
|
|
| |
reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 199841
|
| |
|
|
|
| |
reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 199840
|
| |
|
|
|
| |
reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 199839
|
| |
|
|
|
|
|
|
| |
v2:
- Initialize wavefront size to 0
reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 199838
|
| |
|
|
|
| |
reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 199837
|
| |
|
|
| |
llvm-svn: 199836
|
| |
|
|
| |
llvm-svn: 199835
|
| |
|
|
|
|
| |
ArgumentWithTypeTagAttr or MSInheritanceAttr), display the spelling used for the attribute as part of the AST dump. This should ease debugging the AST for these attributes. Attributes without semantically meaningful spelling variations are not affected.
llvm-svn: 199834
|
| |
|
|
| |
llvm-svn: 199833
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
My understanding (from reading just the llvm code) is that
* most ppc cpus have a "sync n" instruction and an msync alias that is "sync 0".
* "book e" cpus instead have a msync instruction and not the more
general "sync n"
This patch reflects that in the .td files, allowing a single codepath for
asm ond obj streamer and incidentelly fixes a crash when EmitRawText was
called on a obj streamer.
llvm-svn: 199832
|
| |
|
|
| |
llvm-svn: 199831
|