- Jan 16, 2015
-
-
Simon Atanasyan authored
No functional changes. llvm-svn: 226262
-
Simon Atanasyan authored
No functional changes. llvm-svn: 226261
-
Simon Atanasyan authored
No functional changes. llvm-svn: 226260
-
Simon Atanasyan authored
This class defines a relocation handler interface. The interface does not depend on the template argument so the argument is redundant. llvm-svn: 226259
-
Simon Atanasyan authored
No functional changes. llvm-svn: 226258
-
Simon Atanasyan authored
No functional changes. llvm-svn: 226257
-
Simon Atanasyan authored
No functional changes. llvm-svn: 226256
-
Simon Atanasyan authored
That reduce class dependencies and simplify the code a bit. No functional changes. llvm-svn: 226255
-
Simon Atanasyan authored
No functional changes. llvm-svn: 226254
-
Simon Atanasyan authored
If object files satisfy O32 ABI they can be linked together even if some of them contains MIPS64 or MIPS64R2 instructions. llvm-svn: 226253
-
Timur Iskhodzhanov authored
This breaks AddressSanitizer (ninja check-asan) on Windows llvm-svn: 226251
-
Alexey Bataev authored
storage. This fix allows to use non-constant global variables, static local variables and static data members in data-sharing attribute clauses in parallel and task regions. llvm-svn: 226250
-
Vince Harron authored
Differential review: http://reviews.llvm.org/D6919 llvm-svn: 226249
-
Filipe Cabecinhas authored
llvm-svn: 226248
-
Hal Finkel authored
Bill Schmidt pointed out that some adjustments would be needed to properly support powerpc64le (using the ELF V2 ABI). For one thing, R11 is not available as a scratch register, so we need to use R12. R12 is also available under ELF V1, so to maintain consistency, I flipped the order to make R12 the first scratch register in the array under both ABIs. llvm-svn: 226247
-
Saleem Abdulrasool authored
The target may be a synthetic symbol like __ImageBase. cast_or_null will ensure that the atom is a DefinedAtom, which is not guaranteed, which was the original reason for the cast_or_null. Switch this to dyn_cast, which should enable building of executables for WoA. Unfortunately, the issue of missing base relocations still needs to be investigated. llvm-svn: 226246
-
Mehdi Amini authored
http://reviews.llvm.org/D6993 llvm-svn: 226245
-
Jason Molenda authored
the register state when debugging AArch32 programs (armv7 programs running on an armv8 processor). Most notably, there is no "fpscr" register in the register context - there is an fpsr and an fpcr. Also fix a bug where the floating point values could not be written in armv7 processes. <rdar://problem/18977767> llvm-svn: 226244
-
Dan Albert authored
This isn't actually used for anything, and is broken on Darwin (currently causing build failures now that the triple is passed to aid cross compiling). Rather than fix unused code, just remove it. llvm-svn: 226243
-
Rafael Espindola authored
This reverts commit r226173, adding r226038 back. No change in this commit, but clang was changed to also produce trivial comdats for costructors, destructors and vtables when needed. Original message: Don't create new comdats in CodeGen. This patch stops the implicit creation of comdats during codegen. Clang now sets the comdat explicitly when it is required. With this patch clang and gcc now produce the same result in pr19848. llvm-svn: 226242
-
Kevin Enderby authored
removing the macho-archive-headers.test added with r226228 that it is failing on for now while I try to figure out what is going on. llvm-svn: 226241
-
Dan Albert authored
Fixes issue with r226235. Build configuration difference between libc++ and libc++abi. llvm-svn: 226240
-
Kevin Enderby authored
the macho-archive-headers.test added with r226228. llvm-svn: 226239
-
Sanjoy Das authored
IRCE eliminates range checks of the form 0 <= A * I + B < Length by splitting a loop's iteration space into three segments in a way that the check is completely redundant in the middle segment. As an example, IRCE will convert len = < known positive > for (i = 0; i < n; i++) { if (0 <= i && i < len) { do_something(); } else { throw_out_of_bounds(); } } to len = < known positive > limit = smin(n, len) // no first segment for (i = 0; i < limit; i++) { if (0 <= i && i < len) { // this check is fully redundant do_something(); } else { throw_out_of_bounds(); } } for (i = limit; i < n; i++) { if (0 <= i && i < len) { do_something(); } else { throw_out_of_bounds(); } } IRCE can deal with multiple range checks in the same loop (it takes the intersection of the ranges that will make each of them redundant individually). Currently IRCE does not do any profitability analysis. That is a TODO. Please note that the status of this pass is *experimental*, and it is not part of any default pass pipeline. Having said that, I will love to get feedback and general input from people interested in trying this out. This pass was originally r226201. It was reverted because it used C++ features not supported by MSVC 2012. Differential Revision: http://reviews.llvm.org/D6693 llvm-svn: 226238
-
Dan Albert authored
Reviewers: EricWF, jroelofs Reviewed By: jroelofs Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6990 llvm-svn: 226237
-
Rui Ueyama authored
llvm-svn: 226236
-
Dan Albert authored
Reviewers: EricWF, jroelofs Reviewed By: jroelofs Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6991 llvm-svn: 226235
-
Vince Harron authored
Differential Revision: http://reviews.llvm.org/D6917 llvm-svn: 226234
-
Nico Weber authored
`ninja lldb` used to always run "echo -n", which on OS X results in literally echoing "-n" to the screen. Just remove the command from add_custom_target, then it only adds an alias and `ninja lldb` now reports "no work to do". Other than that, no intended behavior change. llvm-svn: 226233
-
Kevin Enderby authored
the macho-archive-headers.test added with r226228. llvm-svn: 226232
-
Jason Molenda authored
just pointing to the standard document regarding this. llvm-svn: 226231
-
Matt Arsenault authored
llvm-svn: 226230
-
Filipe Cabecinhas authored
llvm-svn: 226229
-
Kevin Enderby authored
Add the option, -archive-headers, used with -macho to print the Mach-O archive headers to llvm-objdump. llvm-svn: 226228
-
Rafael Espindola authored
This produces comdats for vtables, typeinfo, typeinfo names, and vtts. When combined with llvm not producing implicit comdats, not doing this would cause code bloat on ELF and link errors on COFF. llvm-svn: 226227
-
Matt Arsenault authored
Instructions with 1 operand can still use source modifiers, so make sure we don't print an extra comma afterwards. llvm-svn: 226226
-
Rui Ueyama authored
llvm-svn: 226225
-
Colin LeMahieu authored
llvm-svn: 226224
-
Jon Roelofs authored
llvm-svn: 226223
-
Filipe Cabecinhas authored
llvm-svn: 226222
-