- Apr 28, 2016
-
-
Mitch Bodart authored
For compilations with no explicit cpu specified, this exhibits nice gains on Silvermont, with neutral performance on big cores. Differential Revision: http://reviews.llvm.org/D19138 llvm-svn: 267809
-
Samuel Antao authored
Summary: Implement codegen for the map clause. All the new list items in 4.5 specification are supported. Fix bug in the generation of array sections that was exposed by some of the map clause tests: for pointer types the offsets have to be calculated from the pointee not the pointer. Reviewers: hfinkel, kkwli0, carlo.bertolli, arpith-jacob, ABataev Subscribers: ABataev, cfe-commits, caomhin, fraggamuffin Differential Revision: http://reviews.llvm.org/D16749 llvm-svn: 267808
-
Kevin Enderby authored
rdar://25896202 llvm-svn: 267807
-
Quentin Colombet authored
llvm-svn: 267806
-
Samuel Antao authored
Was causing warnings during the build. llvm-svn: 267805
-
Paul Robinson authored
llvm-svn: 267804
-
Rong Xu authored
Relax the test check as some targets do not have name compression. llvm-svn: 267803
-
Richard Smith authored
the current language doesn't have an import syntax and we can figure out a suitable file to include. llvm-svn: 267802
-
Davide Italiano authored
perl-5 uses the former, so provide an alias. Found while linking the whole set of FreeBSD ports with lld. llvm-svn: 267801
-
Adrian McCarthy authored
There's an open bug with calling functions in the inferior. And Windows doesn't have the POSIX function getpid(). Differential Revision: http://reviews.llvm.org/D19626 llvm-svn: 267800
-
Colin LeMahieu authored
llvm-svn: 267798
-
Quentin Colombet authored
The callseq_end node must be glued with the TLS calls, otherwise, the generic code will miss the uses of the returned value and will mark it dead. Moreover, TLSCall 64-bit pseudo must not set an implicit-use on RDI, the pseudo uses the symbol address at this point not RDI and the lowering will do the right thing. llvm-svn: 267797
-
Colin LeMahieu authored
Differential revision: http://reviews.llvm.org/D19429 llvm-svn: 267796
-
Marcin Koscielnicki authored
Differential Revision: http://reviews.llvm.org/D19543 llvm-svn: 267795
-
Marcin Koscielnicki authored
On linux, some architectures had an ABI transition from 64-bit long double (ie. same as double) to 128-bit long double. On those, glibc symbols involving long doubles come in two versions, and we need to pass the correct one to dlvsym when intercepting them. A few more functions we intercept are also versioned (all printf, scanf, strtold variants), but there's no need to fix these, as the REAL() versions are never called. Differential Revision: http://reviews.llvm.org/D19555 llvm-svn: 267794
-
Derek Bruening authored
Summary: The strchr and strrchr interceptors are sometimes invoked too early for their REAL() counterparts to be initialized. We have seen this in hooks invoked from tcmalloc on the dlsym() used in initializing interceptors. A special check is added to use internal_ routines for this situation. Reviewers: vitalybuka, aizatsky, filcab Subscribers: filcab, llvm-commits, eugenis, kcc, zhaoqin, aizatsky, kubabrecka Differential Revision: http://reviews.llvm.org/D19607 llvm-svn: 267793
-
Rong Xu authored
Differential Revision: http://reviews.llvm.org/D19515 llvm-svn: 267792
-
Matt Arsenault authored
Patch by Bas Nieuwenhuizen llvm-svn: 267791
-
Lang Hames authored
This should fix the compile error that showed up in build: http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-buildserver/builds/6754/ llvm-svn: 267790
-
Lang Hames authored
llvm-svn: 267789
-
Peter Collingbourne authored
llvm-svn: 267788
-
Simon Pilgrim authored
llvm-svn: 267786
-
Peter Collingbourne authored
Bitsets, and the compiler features they rely on (vtable opt, CFI), only have visibility within the LTO'd part of the linkage unit. Therefore, only enable these features for classes with hidden LTO visibility. This notion is based on object file visibility or (on Windows) dllimport/dllexport attributes. We provide the [[clang::lto_visibility_public]] attribute to override the compiler's LTO visibility inference in cases where the class is defined in the non-LTO'd part of the linkage unit, or where the ABI supports calling classes derived from abstract base classes with hidden visibility in other linkage units (e.g. COM on Windows). If the cross-DSO CFI mode is enabled, bitset checks are emitted even for classes with public LTO visibility, as that mode uses a separate mechanism to cause bitsets to be exported. This mechanism replaces the whole-program-vtables blacklist, so remove the -fwhole-program-vtables-blacklist flag. Because __declspec(uuid()) now implies [[clang::lto_visibility_public]], the support for the special attr:uuid blacklist entry is removed. Differential Revision: http://reviews.llvm.org/D18635 llvm-svn: 267784
-
Kevin Enderby authored
This was crashing llvm-objdump with -macho -objc-meta-data when trying dump a non-existent section. So the test binary is simply created from an empty .s file compiled with: clang -arch armv7 empty.s -c llvm-svn: 267782
-
Ahmed Bougacha authored
We run after PEI. Found via inspection; no obvious testcase. Follow-up to r266679. llvm-svn: 267781
-
Ahmed Bougacha authored
We run after PEI. Found via inspection; no obvious testcase. Follow-up to r266339. llvm-svn: 267780
-
Ahmed Bougacha authored
transferSuccessors() would LoadCmpBB a successor of DoneBB, whereas it should be a successor of the original MBB. Follow-up to r266339. Unfortunately, it's tricky to catch this in the verifier. llvm-svn: 267779
-
Ahmed Bougacha authored
transferSuccessors() would LoadCmpBB a successor of DoneBB, whereas it should be a successor of the original MBB. The testcase changes are caused by Thumb2SizeReduction, which was previously confused by the broken CFG. Follow-up to r266679. Unfortunately, it's tricky to catch this in the verifier. llvm-svn: 267778
-
Simon Pilgrim authored
At the moment we don't simplify PSRAV/PSRLV/PSLLV intrinsics to generic IR for constant shift amounts, but we could. llvm-svn: 267777
-
Lang Hames authored
Also replaces a number of calls to report_fatal_error with Error returns. The plumbing will make it easier to return errors originating in libObject. Replacing report_fatal_errors with Error returns will give JIT clients the opportunity to recover gracefully when the JIT is unable to produce/relocate code, as well as providing meaningful error messages that can be used to file bug reports. llvm-svn: 267776
-
Peter Collingbourne authored
Differential Revision: http://reviews.llvm.org/D19464 llvm-svn: 267775
-
Than McIntosh authored
llvm-svn: 267774
-
Kevin B. Smith authored
Differential Revision: http://reviews.llvm.org/D19592 llvm-svn: 267773
-
Sunil Srivastava authored
Patch by Douglas Yung! Differential Revision: http://reviews.llvm.org/D19003 llvm-svn: 267772
-
Kostya Serebryany authored
llvm-svn: 267771
-
Kostya Serebryany authored
llvm-svn: 267770
-
Andrew Kaylor authored
Differential Revision: http://reviews.llvm.org/D19554 llvm-svn: 267769
-
Sean Callanan authored
<rdar://problem/25785338> llvm-svn: 267768
-
David Majnemer authored
The sink cast machinery is supposed to sink casts as close to their user as possible. However, an EH pad is the first instruction in it's basic block. Don't sink if the user is an EH pad. This fixes PR27536. llvm-svn: 267767
-
Than McIntosh authored
Summary: Refactor debugging routines to reduce code duplication. Remove a couple of #include's that were not needed. Don't require MachineDominator as a prereq for this pass (not needed). These changes split off from http://reviews.llvm.org/D18827. Reviewers: wmi, gbiv, qcolombet Subscribers: llvm-commits, davidxl, jevinskie Differential Revision: http://reviews.llvm.org/D18992 llvm-svn: 267766
-