summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Attempt to fix pdbdump-headers.test on big-endian hosts after r269861.Daniel Sanders2016-05-181-2/+6
| | | | llvm-svn: 269898
* Revert "[mips] Restrict the creation of compact branches"Simon Dardis2016-05-184-47/+2
| | | | | | | | This reverts commit rL269893. Incorrect patch applied. llvm-svn: 269897
* [clang-tidy] Fix a functional change from r269656.Benjamin Kramer2016-05-181-3/+4
| | | | | | | | Instead of forming char ranges that patch made us form token ranges, which behave subtly different. Sadly I'm only seeing this as part of a larger test case that I haven't fully reduced yet. llvm-svn: 269896
* [AVR] Convert C style comments to C++Dylan McKay2016-05-187-27/+11
| | | | llvm-svn: 269895
* [include-fixer] Run tests with -fno-ms-compatibility.Benjamin Kramer2016-05-181-4/+3
| | | | | | | Something behind that flag makes us get fewer typo correction callbacks, unbreak the tests on windows for now. llvm-svn: 269894
* [mips] Restrict the creation of compact branchesSimon Dardis2016-05-185-2/+99
| | | | | | | | | | | | | | | Restrict the creation of compact branches so that they meet the ISA encoding requirements. Notably do not permit $zero to be used as a operand for compact branches and ensure that some other branches fulfil the requirement that rs != rt. Fixup cases where $rs > $rt for bnec and beqc. Reviewers: dsanders, vkalintiris Differential Review: http://reviews.llvm.org/D20284 llvm-svn: 269893
* [Sparc] Add Soft Float supportChris Dewhurst2016-05-1810-101/+528
| | | | | | | | | | This change adds support for software floating point operations for Sparc targets. This is the first in a set of patches to enable software floating point on Sparc. The next patch will enable the option to be used with Clang. Differential Revision: http://reviews.llvm.org/D19265 llvm-svn: 269892
* Support for MSVS default calling convention options (/Gd, /Gz, /Gv,Alexey Bataev2016-05-189-14/+132
| | | | | | | | | /Gr), by Alexander Makarov Patch for bug #27711 Differential Revision: http://reviews.llvm.org/D20171 llvm-svn: 269891
* [include-fixer] Ignore non-scoped enum declaration during search.Haojian Wu2016-05-182-4/+20
| | | | | | | | | | Reviewers: bkramer Subscribers: cfe-commits, ioeric Differential Revision: http://reviews.llvm.org/D20354 llvm-svn: 269890
* [clang-format] Make FormatTokenLess::operator() const.Eric Liu2016-05-181-1/+1
| | | | llvm-svn: 269889
* Make clang-format cleaner remove redundant commas in list and redundant ↵Eric Liu2016-05-183-4/+179
| | | | | | | | | | | | | | colon in constructor initializer. Summary: Make clang-format cleaner remove redundant commas/colons in constructor initializer list. Reviewers: klimek, djasper Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D19804 llvm-svn: 269888
* [Coverage] Ensure that coverage mapping data has an expected alignment in ↵Igor Kudrin2016-05-189-1/+12
| | | | | | | | | | | | | 'covmapping' files. Coverage mapping data is organized in a sequence of blocks, each of which is expected to be aligned by 8 bytes. This feature is used when reading those blocks, see VersionedCovMapFuncRecordReader::readFunctionRecords(). If a misaligned covearge mapping data has more than one block, it causes llvm-cov to fail. Differential Revision: http://reviews.llvm.org/D20285 llvm-svn: 269887
* [AVX512] Strengthen type constraints on my rounding mode inputs and some ↵Craig Topper2016-05-181-16/+23
| | | | | | immediate inputs. llvm-svn: 269886
* [AVX512] Strengthen type checks on the X86ISD::SELECT node. Saves over 800 ↵Craig Topper2016-05-182-6/+16
| | | | | | bytes in the DAG isel table by removing type checks for the condition operand which is always a vector or scalar of i1 matching the the number of elements in the other operands. llvm-svn: 269885
* Strengthen type assertion for ISD::VSELECT ensuring that the condition has ↵Craig Topper2016-05-181-1/+1
| | | | | | the name number of elements as the destination type. llvm-svn: 269884
* [mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add ↵Zlatko Buljan2016-05-1814-18/+169
| | | | | | | | CodeGen support Differential Revision: http://reviews.llvm.org/D15418 llvm-svn: 269883
* [LSAN] Fix test swapcontext.cc on MIPSSagar Thakur2016-05-184-8/+14
| | | | | | | | | There is no frame validity check in the slow unwinder like there is in the fast unwinder due to which lsan reports a leak even for heap allocated coroutine in the test swapcontext.cc. Since mips/linux uses slow unwindwer instead of fast unwinder, the test fails for mips/linux. Therefore adding the checks before unwinding fixes the test for mips/linux. Reviewed by aizatsky. Differential: http://reviews.llvm.org/D19961 llvm-svn: 269882
* [RuntimeDyld] Thread Error through some APIs, remove calls to ↵Lang Hames2016-05-184-58/+18
| | | | | | report_fatal_error. llvm-svn: 269881
* Various improvements to the public IRGen interface.John McCall2016-05-184-87/+145
| | | | llvm-svn: 269880
* [Sema,CodeGen] Remove comment from SemaChecking about a ↵Craig Topper2016-05-182-20/+3
| | | | | | | | builtin_shufflevector form that it doesn't support. Remove CodeGen support for the same form since it could never have been used due to the missing support in Sema. I couldn't find any documentation that this form existed either. Nor is there documentation for one of the remaining two forms, but there is a testcase that uses it. llvm-svn: 269879
* [X86] Add immediate range checks for many of the builtins.Craig Topper2016-05-183-51/+259
| | | | | | This time allow -128 to 255 for builtins that use a char type immediate." llvm-svn: 269878
* remove use of Mutex in favour of std::{,recursive_}mutexSaleem Abdulrasool2016-05-18139-1806/+1680
| | | | | | | | | | This is a pretty straightforward first pass over removing a number of uses of Mutex in favor of std::mutex or std::recursive_mutex. The problem is that there are interfaces which take Mutex::Locker & to lock internal locks. This patch cleans up most of the easy cases. The only non-trivial change is in CommandObjectTarget.cpp where a Mutex::Locker was split into two. llvm-svn: 269877
* [X86] Remove GCC builtin from add/sub/mul/div ss/sd intrinsics. These ↵Craig Topper2016-05-181-8/+8
| | | | | | | | haven't been used as builtins in clang for a long time. Can probably remove the intrinsics entirely, but that will require more work. llvm-svn: 269876
* findAllSymbols: Prune unused libdeps.NAKAMURA Takumi2016-05-181-3/+0
| | | | llvm-svn: 269875
* FindAllSymbolsTests doesn't require clangToolingCore.NAKAMURA Takumi2016-05-181-1/+0
| | | | llvm-svn: 269874
* include-fixer: They require clangLex.NAKAMURA Takumi2016-05-183-0/+3
| | | | llvm-svn: 269873
* Delete default in fully covered switch.Rafael Espindola2016-05-181-1/+0
| | | | llvm-svn: 269872
* Don't pass relocation-model= to tests that don't need it.Rafael Espindola2016-05-1823-46/+46
| | | | | | | Very few things in MC itself use the option. Most of the code that that uses it could be move to CodeGen. llvm-svn: 269871
* IncludeFixerTest.cpp: Add explicit triple for some tests. They are failing ↵NAKAMURA Takumi2016-05-181-2/+4
| | | | | | for targeting *-win32. llvm-svn: 269870
* Fix use-after-free ASan failures for modules / PCH files that deserialize ↵Richard Smith2016-05-182-7/+35
| | | | | | abi_tag or no_sanitize attributes. llvm-svn: 269869
* [codeview] Move Symbol / Type enum defs into CodeView.hZachary Turner2016-05-173-31/+31
| | | | | | | This fixes a build breakage that would otherwise only be fixable through a circular header dependency. llvm-svn: 269868
* [codeview] Some cleanup of Symbol Records.Zachary Turner2016-05-1711-388/+414
| | | | | | | | | | | | | | * Reworks the CVSymbolTypes.def to work similarly to TypeRecords.def. * Moves some enums from SymbolRecords.h to CodeView.h to maintain consistency with how we do type records. * Generalize a few simple things like the record prefix * Define the leaf enum and the kind enum similar to how we do with tyep records. Differential Revision: http://reviews.llvm.org/D20342 Reviewed By: amccarth, rnk llvm-svn: 269867
* llvm-dwp: remove some unused error handlingDavid Blaikie2016-05-171-8/+5
| | | | llvm-svn: 269866
* Revert "[obj2yaml] [yaml2obj] Support MachO section and section_64Zachary Turner2016-05-176-424/+6
| | | | | | | | | structs" This reverts commits r269845, r269846, and r269850 as they introduce a crash in obj2yaml when trying to do a roundtrip. llvm-svn: 269865
* llvm-dwp: Move error handling code closer to useDavid Blaikie2016-05-171-6/+6
| | | | llvm-svn: 269864
* Revert "[sanitizer] Move *fstat to the common interceptors"Mike Aizatsky2016-05-175-118/+118
| | | | | | This reverts commit http://reviews.llvm.org/rL269856 llvm-svn: 269863
* [WebAssembly] Rename $discard to $drop in the assembly output.Dan Gohman2016-05-1721-135/+134
| | | | llvm-svn: 269862
* pdbdump: Print out more strcutures.Rui Ueyama2016-05-174-3/+51
| | | | | | | | | | I don't yet fully understand the meaning of these data strcutures, but at least it seems that their sizes and types are correct. With this change, we can read publics streams till end. Differential Revision: http://reviews.llvm.org/D20343 llvm-svn: 269861
* xfail TestWatchLocation.py for arm-linux targetsOmair Javaid2016-05-171-0/+1
| | | | | | | | TestWatchLocation.py fails on arm-linux target due to unicode error in lldb testsuite. This is a known issue and same test fails on OS X with similar reason. I have reported a bug and marked this test as xfail for arm-linux targets. llvm-svn: 269860
* [DwarfDebug] Make tuning predicates private, should be used only in ctor.Paul Robinson2016-05-171-9/+10
| | | | llvm-svn: 269859
* PR27754: CXXRecordDecl::data() needs to perform an update even if it's calledRichard Smith2016-05-179-45/+47
| | | | | | on a declaration that already knows the location of the DefinitionData object. llvm-svn: 269858
* docs: Update and clean up BitCodeFormat.rst.Peter Collingbourne2016-05-171-1/+14
| | | | llvm-svn: 269857
* [sanitizer] Move *fstat to the common interceptorsMike Aizatsky2016-05-175-118/+118
| | | | | | | | | | | | | | | | Summary: Adds *fstat to the common interceptors. Removes the now-duplicate fstat interceptor from msan/tsan This adds fstat to asan/esan, which previously did not intercept it. Reviewers: eugenis, vitalybuka, aizatsky Subscribers: tberghammer, danalbert, srhines, kubabrecka, bruening, kcc Differential Revision: http://reviews.llvm.org/D20318 llvm-svn: 269856
* [tsan] Ensure mmap respects ignore_interceptors_accessesAnna Zaks2016-05-172-2/+71
| | | | | | | | | | | | | | | The ignore_interceptors_accesses setting did not have an effect on mmap, so let's change that. It helps in cases user code is accessing the memory written to by mmap when the synchronization is ensured by the code that does not get rebuilt. (This effects Swift interoperability since it's runtime is mapping memory which gets accessed by the code emitted into the Swift application by the compiler.) Differential Revision: http://reviews.llvm.org/D20294 llvm-svn: 269855
* [WebAssembly] Model the stack evaluation order more precisely.Dan Gohman2016-05-173-32/+73
| | | | | | | | | | | We currently don't represent get_local and set_local explicitly; they are just implied by virtual register use and def. This avoids a lot of clutter, but it does complicate stackifying: get_locals read their operands at their position in the stack evaluation order, rather than at their parent instruction. This patch adds code to walk the stack to determine the precise ordering, when needed. llvm-svn: 269854
* Delete deprecated function.Rafael Espindola2016-05-172-10/+0
| | | | llvm-svn: 269853
* [X86][SSE] Tidied up MMX/SSE/SSE2 builtin tests to the correct test fileSimon Pilgrim2016-05-173-306/+101
| | | | llvm-svn: 269852
* llvm-dwp: Add error handling for multiple type sections in a dwp file.David Blaikie2016-05-173-1/+6
| | | | llvm-svn: 269851
* Fixing a test case that I broke by fixing r269846Chris Bieneman2016-05-172-6/+12
| | | | | | This should fix the bots. llvm-svn: 269850
* Revert r269717. That change alone did not provide the intended benefit (whichRichard Smith2016-05-171-16/+2
| | | | | | | | | would come from changing the type of ASTContext::DeclAttrs from DenseMap<Decl*,AttrVec*> to DenseMap<Decl*,AttrVec>), and it turns out to be impractical to avoid the allocation there, because we expose the address of the attribute vector in ways that are hard to fix. llvm-svn: 269849
OpenPOWER on IntegriCloud