- Jan 23, 2014
-
-
Eric Christopher authored
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
-
Justin Bogner authored
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
-
Jordan Rose authored
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
-
Jordan Rose authored
Now we'll get a warning if we miss a case. Refinement of r199800. llvm-svn: 199868
-
Richard Trieu authored
match argument type. llvm-svn: 199867
-
Kevin Qin authored
As vcles_f32() and vcled_f64 are implemented by FCMGE, operands should make a swap. llvm-svn: 199866
-
Justin Bogner authored
This adds tests for both logical or and for logical and, which was already correct. llvm-svn: 199865
-
Justin Bogner authored
llvm-svn: 199864
-
Justin Bogner authored
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
-
Justin Bogner authored
llvm-svn: 199862
-
Hao Liu authored
llvm-svn: 199861
-
Nick Kledzik authored
llvm-svn: 199860
-
Nick Kledzik authored
llvm-svn: 199859
-
Kevin Qin authored
llvm-svn: 199858
-
Enrico Granata authored
If a user specifies a format option to frame variable or expression, that format should prevail over whatever format(s) a summary specifies (see test case for an example) llvm-svn: 199857
-
Todd Fiala authored
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
-
NAKAMURA Takumi authored
llvm-svn: 199855
-
Greg Clayton authored
<rdar://problem/15312873> llvm-svn: 199854
-
Jack Carter authored
llvm-svn: 199853
-
Ben Langmuir authored
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
-
Jack Carter authored
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
-
Richard Smith authored
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
-
- Jan 22, 2014
-
-
Peter Collingbourne authored
QOI improvement. Differential Revision: http://llvm-reviews.chandlerc.com/D2059 llvm-svn: 199848
-
Owen Anderson authored
Revert r162101 and replace it with a solution that works for targets where 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
-
Matt Arsenault authored
llvm-svn: 199846
-
Tom Stellard authored
This reverts commit 35b8331cad6eb512a2506adbc394201181da94ba. The -debug-only flag for llc doesn't appear to be available in all build configurations. llvm-svn: 199845
-
Alp Toker authored
The execution code path crashes if it can't execute the binary so we might as well take precautions here. llvm-svn: 199844
-
Rafael Espindola authored
Fixes pr18508. llvm-svn: 199843
-
Tom Stellard authored
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
-
Tom Stellard authored
reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 199841
-
Tom Stellard authored
reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 199840
-
Tom Stellard authored
reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 199839
-
Tom Stellard authored
v2: - Initialize wavefront size to 0 reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 199838
-
Tom Stellard authored
reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 199837
-
Matt Arsenault authored
llvm-svn: 199836
-
Alp Toker authored
llvm-svn: 199835
-
Aaron Ballman authored
If an attribute has a semantically meaningful spelling (such as 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
-
Matt Arsenault authored
llvm-svn: 199833
-
Rafael Espindola authored
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
-
Quentin Colombet authored
llvm-svn: 199831
-