summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [libFuzzer] remove the code for -print_pcs=1 with the old coverage. It still ↵Kostya Serebryany2016-09-304-47/+2
| | | | | | works with the new one (trace-pc-guard) llvm-svn: 282831
* Add the tracking radar on our end.Jim Ingham2016-09-301-1/+1
| | | | llvm-svn: 282830
* [libFuzzer] more the feature set to InputCorpus; on feature update, change ↵Kostya Serebryany2016-09-304-39/+80
| | | | | | the feature counter of the old best input llvm-svn: 282829
* [LoopDataPrefetch] Port to new streaming API for opt remarksAdam Nemet2016-09-303-1/+14
| | | | llvm-svn: 282826
* Add unit tests for simple frameless i386 and x86_64 functionJason Molenda2016-09-301-3/+222
| | | | | | instruction inspection to UnwindPlans. llvm-svn: 282825
* Prefer skipping over x-failingEnrico Granata2016-09-301-1/+1
| | | | llvm-svn: 282824
* Do not assume we will be able to discover the return type of this selector ↵Enrico Granata2016-09-301-1/+1
| | | | | | call, for that is not true in i386 mode llvm-svn: 282823
* Move UTF functions into namespace llvm.Justin Lebar2016-09-3013-115/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This lets people link against LLVM and their own version of the UTF library. I determined this only affects llvm, clang, lld, and lldb by running $ git grep -wl 'UTF[0-9]\+\|\bConvertUTF\bisLegalUTF\|getNumBytesFor' | cut -f 1 -d '/' | sort | uniq clang lld lldb llvm Tested with ninja lldb ninja check-clang check-llvm check-lld (ninja check-lldb doesn't complete for me with or without this patch.) Reviewers: rnk Subscribers: klimek, beanz, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D24996 llvm-svn: 282822
* [LV] Port the remarks in processLoop to the new streaming APIAdam Nemet2016-09-301-22/+39
| | | | | | This completes LV. llvm-svn: 282821
* [LV] Port the last opt remark in Hints to the new streaming interfaceAdam Nemet2016-09-301-5/+6
| | | | llvm-svn: 282820
* [X86] Don't preserve Win64 SSE CSRs when SSE is disabledReid Kleckner2016-09-303-2/+39
| | | | | | | | | Code that doesn't use floating point and doesn't use SSE (kernel code) shouldn't save and restore SSE registers. Fixes PR30503 llvm-svn: 282819
* Start linker scripts at 0.Rafael Espindola2016-09-303-4/+8
| | | | | | | | | We were implicitly creating space for the headers. That is not the behaviour of bfd, which requires the script to use SIZEOF_HEADERS. The difference is important for scripts that don't use SIZEOF_HEADERS and expect the first section to be at 0. llvm-svn: 282818
* [AArch64][RegisterBankInfo] Use static mapping for 3-operands instrs.Quentin Colombet2016-09-301-0/+50
| | | | | | | | This uses a TableGen'ed like structure for all 3-operands instrs. The output of the RegBankSelect pass should be identical but the RegisterBankInfo will do less dynamic allocations. llvm-svn: 282817
* [AArch64][RegisterBankInfo] Add static value mapping for 3-op instrs.Quentin Colombet2016-09-302-12/+58
| | | | | | | This is the kind of input TableGen should generate at some point. NFC. llvm-svn: 282816
* [AArch64][RegisterBankInfo] Check the statically created ValueMapping.Quentin Colombet2016-09-301-0/+18
| | | | | | | | | Make sure that the ValueMappings contain the value we expect at the indices we expect. NFC. llvm-svn: 282815
* Don't depend on lld creating space for the headers.Rafael Espindola2016-09-3018-9/+32
| | | | | | | | | | | | | Currently lld will implicitly reserve space for the headers. This is not the case is bfd, where it is the script responsibility to use SIZEOF_HEADERS. This means that a script not using SIZEOF_HEADERS and expecting the address of the first section to be 0 would fail with lld. I am fixing that is the next commit. This one just makes the tests explicitly use SIZEOF_HEADERS to avoid the dependency on the current behaviour. llvm-svn: 282814
* [LAA, LV] Port to new streaming interface for opt remarks. Update LVAdam Nemet2016-09-304-30/+78
| | | | | | | | | | | | | | (Recommit after making sure IsVerbose gets properly initialized in DiagnosticInfoOptimizationBase. See previous commit that takes care of this.) OptimizationRemarkAnalysis directly takes the role of the report that is generated by LAA. Then we need the magic to be able to turn an LAA remark into an LV remark. This is done via a new OptimizationRemark ctor. llvm-svn: 282813
* [Diag] Use non-static member initializer for IsVerbose. NFCAdam Nemet2016-09-301-4/+3
| | | | llvm-svn: 282812
* Switch to using TEST_EQ, TEST_FALSE where appropriate.Jason Molenda2016-09-291-43/+44
| | | | llvm-svn: 282811
* Add some logging when trace is on. We're getting a bot failure on i386 that ↵Jim Ingham2016-09-291-8/+15
| | | | | | | | doesn't I can't reproduce locally. Hopefully this will help us catch the reason. llvm-svn: 282810
* Revert "Add llvm::enumerate() to STLExtras."Zachary Turner2016-09-292-116/+0
| | | | | | | This reverts commit r282804 as it seems to use some C++ features that not all compilers support. llvm-svn: 282809
* Remove Google specific code.Vitaly Buka2016-09-291-7/+0
| | | | llvm-svn: 282808
* Add comments.Rui Ueyama2016-09-291-7/+10
| | | | llvm-svn: 282807
* Break long line. NFC.Rafael Espindola2016-09-291-1/+3
| | | | llvm-svn: 282806
* Don't use internal symbolizer if we are in process of reporting Out-of-Memory.Vitaly Buka2016-09-2910-31/+60
| | | | | | Reviewed by eugenis offline, as reviews.llvm.org is down. llvm-svn: 282805
* Add llvm::enumerate() to STLExtras.Zachary Turner2016-09-292-0/+116
| | | | | | | | | enumerate allows you to iterate over a range by pairing the iterator's value with its index in the enumeration. This gives you most of the benefits of using a for loop while still allowing the range syntax. llvm-svn: 282804
* [CMake] LLDB/Expression needs to depend on intrinsics_genChris Bieneman2016-09-291-0/+4
| | | | | | | | IRExecutionUnit.h includes Module.h, which through a long chain of includes eventually includes Attributes.gen. This fixes a build issue reported to lldb-dev by Hal. Thanks Hal! llvm-svn: 282803
* Use StringSwitch::Cases. NFC.Rui Ueyama2016-09-291-3/+1
| | | | llvm-svn: 282802
* Remove HasError check after lto::LTO::run.Rui Ueyama2016-09-291-8/+3
| | | | | | | Because LTO::run doesn't change HasError, it doesn't make sense to check that value. llvm-svn: 282801
* P0035R4: add std::align_val_t overloads of operator new/delete in C++17 mode.Richard Smith2016-09-299-60/+132
| | | | llvm-svn: 282800
* Don't put ro before rx when using linker scripts.Rafael Espindola2016-09-299-30/+36
| | | | | | | | Since they end up going on the same PT_LOAD, there is no reason to sort them. This matches bfd's behaviour and is user visible in the placement of orphan sections. llvm-svn: 282799
* Keep a private member private.Rui Ueyama2016-09-291-2/+2
| | | | llvm-svn: 282798
* List more sections in linker script.Rafael Espindola2016-09-291-0/+9
| | | | | | This makes the test less brittle with regards to orphan section placement. llvm-svn: 282797
* [InstCombine] fix function names; NFCSanjay Patel2016-09-292-44/+48
| | | | | | | | Also, make foldSelectExtConst() a member of InstCombiner, remove unnecessary parameters from its interface, and group visitSelectInst helpers together in the header file. llvm-svn: 282796
* Remove a return type that can be trivially easily.Rui Ueyama2016-09-291-2/+1
| | | | llvm-svn: 282795
* Don't expect new-style Objective-C literals to work on i386 with the V1 runtime.Sean Callanan2016-09-291-0/+1
| | | | llvm-svn: 282794
* GC HAVE_STRDUP.Joerg Sonnenberger2016-09-291-3/+0
| | | | llvm-svn: 282793
* [Coroutines] Fix assertion about uncorrected typos in ↵Eric Fiselier2016-09-292-1/+31
| | | | | | co_await/co_yield/co_return expressions llvm-svn: 282792
* GC more left-over libtool defines.Joerg Sonnenberger2016-09-291-10/+0
| | | | llvm-svn: 282791
* Add a quick note about how to build lldb with debug info usingJason Molenda2016-09-291-1/+8
| | | | | | cmake/ninja on linux/bsd systems. llvm-svn: 282790
* GC HAVE_PRINTF_A, HAVE_STD_ISINF_IN_CMATH and HAVE_STD_ISNAN_IN_CMATHJoerg Sonnenberger2016-09-291-9/+0
| | | | llvm-svn: 282789
* HAVE_DIA_SDK is directly checked by value, so define it as 0/1.Joerg Sonnenberger2016-09-291-1/+1
| | | | llvm-svn: 282788
* Fixed TestObjCMethods2/i386 by separating out the portions that require ObjC V2.Sean Callanan2016-09-291-13/+17
| | | | llvm-svn: 282787
* Move _chsize_s and _Unwind_Backtrace to the correct position.Joerg Sonnenberger2016-09-291-6/+6
| | | | llvm-svn: 282786
* Fix HAVE_POSIX_FALLOCATE entry.Joerg Sonnenberger2016-09-291-2/+3
| | | | llvm-svn: 282785
* Fix comments to match autoconf.Joerg Sonnenberger2016-09-291-3/+3
| | | | llvm-svn: 282784
* GC HAVE_DLD.Joerg Sonnenberger2016-09-291-3/+0
| | | | llvm-svn: 282783
* GC HAVE_DYLD, HAVE_PRELOADED_SYMBOLS and HAVE_SHL_LOADJoerg Sonnenberger2016-09-291-9/+0
| | | | llvm-svn: 282782
* Sort mallctl, fix comment for mallinfo.Joerg Sonnenberger2016-09-291-4/+4
| | | | llvm-svn: 282781
* GC HAVE_DLERROR.Joerg Sonnenberger2016-09-292-4/+0
| | | | llvm-svn: 282780
OpenPOWER on IntegriCloud