- Sep 25, 2015
-
-
Tamas Berghammer authored
Differential revision: http://reviews.llvm.org/D12963 llvm-svn: 248571
-
Tobias Grosser authored
This avoids warnings of the form: stdint.h:1:20: warning: no newline at end of file [-Wnewline-eof] llvm-svn: 248570
-
Alexey Bataev authored
OpenMP 4.1 extends format of '#pragma omp ordered'. It adds 3 additional clauses: 'threads', 'simd' and 'depend'. If no clause is specified, the ordered construct behaves as if the threads clause had been specified. If the threads clause is specified, the threads in the team executing the loop region execute ordered regions sequentially in the order of the loop iterations. The loop region to which an ordered region without any clause or with a threads clause binds must have an ordered clause without the parameter specified on the corresponding loop directive. llvm-svn: 248569
-
Tobias Grosser authored
llvm-svn: 248568
-
Ekaterina Romanova authored
New test ps4-linker-win.c (added in r48546) is causing problems for Windows bots. I'm deleting this file during investigation. llvm-svn: 248567
-
Ilia K authored
Summary: Allow to construct CMIUtilString using std::string directly + cleanup CMIUtilString (MI) This patch cleans up lldb-mi code, and serves to simplify the following case: ``` std::string strGoodbye = "!Hello"; CMIUtilString strHello(strGoodbye.substr(1).c_str()); ``` With CMIUtilString(std::string) we can omit .c_str(): ``` std::string strGoodbye = "!Hello"; CMIUtilString strHello(strGoodbye.substr(1)); ``` Also, it removes 2 ctors because they aren't needed: # CMIUtilString::CMIUtilString(const char *const *vpData) # CMIUtilString::CMIUtilString(const char *vpData, size_t nLen) and cleans up CMIUtilString::operator=(const std::string &vrRhs). Reviewers: brucem, abidh Subscribers: lldb-commits, brucem, abidh Differential Revision: http://reviews.llvm.org/D13158 llvm-svn: 248566
-
Andrew Wilkins authored
Summary: Another attempt at resolving the runtime assertion in llgoi due to data layout mismatch between module and execution engine. The X86 data layout constant appears to be unnecessary, and does not match what the execution engine picks. Using the registered Target, we pick the same data layout as the execution engine. While I was in the vicinity, I deleted the last remnants of PNaCl support. Reviewers: pcc Subscribers: jfb, llvm-commits, dschuff Differential Revision: http://reviews.llvm.org/D12630 llvm-svn: 248565
-
Tobias Grosser authored
llvm-svn: 248563
-
Saleem Abdulrasool authored
The value was only used in an assertion. Sink the variable usage into the assertion. llvm-svn: 248562
-
Saleem Abdulrasool authored
We now emit the compiler generated divide by zero check that was needed for the MSVC routines. We construct a psuedo-instruction for the DBZ check as the operation requires splitting up the BB. For the 64-bit operations, we need to custom expand the node as we need to insert the DBZ check and then emit the libcall to the appropriate name. Because this is target specific, it seemed better to reproduce the expansion operation from the target-agnostic type legalization rather than sink this there to avoid the duplication. The division library calls now match MSVC semantically. llvm-svn: 248561
-
Davide Italiano authored
llvm-svn: 248560
-
Davide Italiano authored
Pointed out by Rui Ueyama. llvm-svn: 248559
-
Rui Ueyama authored
They are short and used only once, so writing them where they are used is better. llvm-svn: 248558
-
Rui Ueyama authored
llvm-svn: 248557
-
Dawn Perchik authored
Suppose we have the UTF-16 string: char16_t[] s = u"hello"; Before this patch, evaluating the string in lldb would get: (char16_t [6]) $0 = ([0] = U+0068 u'h', [1] = U+0065 u'e', [2] = U+006c u'l', [3] = U+006c u'l', [4] = U+006f u'o', [5] = U+0000 u'\0') After applying the patch, we now get: (char16_t [6]) $0 = u"hello" Patch from evgeny.leviant@gmail.com Reviewed by: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13053 llvm-svn: 248555 -
Davide Italiano authored
Since FreeBSD 4.1, the kernel expects binaries to be marked with ELFOSABI_FREEBSD in the ELF header to exec() them. LLD unconditionally sets OSABI to ELF_OSABINONE, and everything linked with it won't run on FreeBSD (unless explicitly rebranded). Example: % ./aarch64-hello ELF binary type "0" not known. zsh: exec format error: ./aarch64-hello FreeBSD could be modified to accept ELF_OSABINONE, but that would break all existing binaries, so the kernel needs to support both ABINONE and ABIFREEBSD. I plan to push this change in FreeBSD one day, which, unfortunately, is not today. This code patches lld so it sets the header field correctly. For completeness, the rationale of this change is explained in the FreeBSD commit message, and it's apparently to pleasee binutils maintainers at the time. https://svnweb.freebsd.org/base?view=revision&revision=59342 Differential Revision: http://reviews.llvm.org/D13140 llvm-svn: 248554
-
Matt Arsenault authored
llvm-svn: 248553
-
Sanjoy Das authored
r248551 introduced some breakage due to incorrectly terminated ``literals`` s. llvm-svn: 248552
-
Sanjoy Das authored
Summary: This also adds the first set of tests for operand bundles. The optimizer has not been audited to ensure that it does the right thing with operand bundles. Depends on D12456. Reviewers: reames, chandlerc, majnemer, dexonsmith, kmod, JosephTremoulet, rnk, bogner Subscribers: maksfb, llvm-commits Differential Revision: http://reviews.llvm.org/D12457 llvm-svn: 248551
-
Ed Maste authored
Add a FreeBSD test to restore testing of ELF OSABI other than ELFOSABI_NONE after r248534. Differential Revision: http://reviews.llvm.org/D13146 llvm-svn: 248550
-
Matt Arsenault authored
llvm-svn: 248549
-
Chris Bieneman authored
[CMake] [darwin] [cc_kext] In addition to builtin sources the cc_kext builtins include some functions from clang_rt.profile. llvm-svn: 248548
-
Siva Chandra authored
Reviewers: chying Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13147 llvm-svn: 248547
-
Ekaterina Romanova authored
definition, added warnings, PS4 defaults, and Driver changes needed for our compiler. A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova! Differential Revision: http://reviews.llvm.org/D11279 llvm-svn: 248546
-
Todd Fiala authored
See: https://llvm.org/bugs/show_bug.cgi?id=24926 for details. On OS X, when LLDB.framework is not part of the lldb.dylib path, the supporting executable path is resolved to be the bin directory sitting next to the lib directory with the dylib lives. Not a perfect solution, but we also can't base it on the executable path since both Python and the lldb driver can be the executable. llvm-svn: 248545
-
Chris Bieneman authored
Reviewers: lhames, rafael Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13136 llvm-svn: 248544
-
Chris Bieneman authored
[CMake] [darwin] [builtins] Refactoring darwin_find_excluded_builtins_list to parse arguments instead of only handling positional arguments. OS and ARCH must be specified, but minimum version may not. Excluding the minimum version will only apply the filters for builtins not supported by the OS and OS-Arch pair. llvm-svn: 248543
-
Chris Bieneman authored
llvm-svn: 248542
-
Siva Chandra authored
Reviewers: dblaikie, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13143 llvm-svn: 248541
-
Chad Rosier authored
In this context, MI is an add/sub instruction not a loads/store. llvm-svn: 248540
-
Eric Christopher authored
llvm-svn: 248539
-
Eric Christopher authored
llvm-svn: 248538
-
Sanjay Patel authored
llvm-svn: 248537
-
Simon Pilgrim authored
Fix for D12561 - we weren't correctly ensuring that the base element for extension was moved to start on a boundary suitable for UNPCKL/H llvm-svn: 248536
-
Tobias Grosser authored
This change addresses three issues: - Read only scalars that enter a PHI node through an edge that comes from outside the scop are not modeled any more, as such PHI nodes will always be initialized to this initial value right before the SCoP is entered. - For PHI nodes that depend on a scalar value that is defined outside the scop, but where the scalar values is passed through an edge that itself comes from a BB that is part of the region, we introduce in this basic block a read of the out-of-scop value to ensure it's value is available to write it into the PHI alloc location. - Read only uses of scalars by PHI nodes are ignored in the general read only handling code, as they are taken care of by the general PHI node modeling code. llvm-svn: 248535 -
Rafael Espindola authored
The doesn't seem to be a difference and ELFOSABI_NONE seems to be far more common: * Linux doesn't care when loading and puts ELFOSABI_NONE on core dumps. * Gold and bfd ld produce files with ELFOSABI_NONE. * Gold and bfd ld seems to ignore EI_OSABI other than for freebsd. * Gas puts ELFOSABI_NONE in most .o files. llvm-svn: 248534
-
Matt Arsenault authored
llvm-svn: 248533
-
Matt Arsenault authored
These are necessary for implementing mem_fence for OpenCL 2.0. The VI assembler tests are disabled since it seems to be using the wrong encoding or opcode. llvm-svn: 248532
-
Matt Arsenault authored
llvm-svn: 248531
-
Chris Bieneman authored
llvm-svn: 248529
-