summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Sanitizer] Dump coverage if we're killing the program with __sanitizer::Die().Alexey Samsonov2015-08-246-11/+6
| | | | | | | | | | | Previously we had to call __sanitizer_cov_dump() from tool-specific callbacks - instead, let sanitizer_common library handle this in a single place. This is a re-application of r245770, with slightly different approach taken. llvm-svn: 245890
* [Sanitizers] Allow to install several internal Die callbacks.Alexey Samsonov2015-08-246-39/+58
| | | | | | | | | | | | | | | | | This is required to properly re-apply r245770: 1) We should be able to dump coverage in __sanitizer::Die() if coverage collection is turned on. 2) We don't want to explicitly do this in every single sanitizer that supports it. 3) We don't want to link in coverage (and therefore symbolization) bits into small sanitizers that don't support it (safestack). The solution is to make InitializeCoverage() register its own Die() callback that would call __sanitizer_cov_dump(). This callback should be executed in addition to another tool-specific die callbacks (if there are any). llvm-svn: 245889
* [Vectorizer] Detect strides in multi-dimensional arraysTobias Grosser2015-08-242-1/+80
| | | | | | | The original code was only correct for one-dimensional arrays, but derived incorrect strides for multi-dimensional arrays. llvm-svn: 245888
* WebAssembly: Implement callJF Bastien2015-08-2411-48/+218
| | | | | | | | | | | | Summary: Support function calls. Reviewers: sunfish, sunfishcode Subscribers: sunfishcode, jfb, llvm-commits Differential revision: http://reviews.llvm.org/D12219 llvm-svn: 245887
* Revert two bad commits.JF Bastien2015-08-249-101/+28
| | | | | | | | | | Summary: I forgot to squash git commits before doing an svn dcommit of D12219. Reverting, and re-submitting. Subscribers: jfb, llvm-commits Differential Revision: http://reviews.llvm.org/D12298 llvm-svn: 245886
* Diagnose symbols with invalid section indexes.Rafael Espindola2015-08-243-0/+8
| | | | llvm-svn: 245884
* Missing print.JF Bastien2015-08-243-17/+19
| | | | llvm-svn: 245883
* callJF Bastien2015-08-248-8/+166
| | | | llvm-svn: 245882
* [modules] Remove unnecessary deserialization of fully-external ↵Richard Smith2015-08-246-39/+79
| | | | | | HeaderFileInfos for all files we've seen in this compilation. llvm-svn: 245881
* Add support for reading files with more than 0xff00 sections.Rafael Espindola2015-08-243-1/+126
| | | | llvm-svn: 245880
* [MS ABI] Don't emit stackrestore in cleanupsDavid Majnemer2015-08-244-33/+16
| | | | | | The stackrestore intrinsic isn't meaningful inside of a cleanup funclet. llvm-svn: 245879
* [X86][SSE] Added tests for zero-extension vector shuffles that don't extend ↵Simon Pilgrim2015-08-241-0/+280
| | | | | | starting from the 0'th lane. llvm-svn: 245878
* Move test/std/utilities/date.time to proper stable name utilities/time/date.timeEric Fiselier2015-08-245-0/+0
| | | | llvm-svn: 245877
* Misc drive-by cleanups. NFCJonathan Roelofs2015-08-244-3/+5
| | | | | | http://reviews.llvm.org/D12294 llvm-svn: 245876
* [WebAssembly] Make the assembly printer indent instructions.Dan Gohman2015-08-241-0/+2
| | | | llvm-svn: 245875
* LTO: Rename mergedModule variables to MergedModule to prepare for ownership ↵Peter Collingbourne2015-08-241-20/+17
| | | | | | | | change. Also convert a few loops to range-for loops and correct a comment. llvm-svn: 245874
* Report an error if a SHT_SYMTAB_SHNDX section has the wrong size.Rafael Espindola2015-08-243-8/+22
| | | | llvm-svn: 245873
* [WebAssembly] CodeGen support for __builtin_wasm_page_size()Dan Gohman2015-08-244-1/+40
| | | | llvm-svn: 245872
* Revert r245866.Akira Hatanaka2015-08-242-9/+0
| | | | | | This commit was causing buildbot failures. llvm-svn: 245871
* Only derive number of loop iterations for loops we can actually vectorizeTobias Grosser2015-08-242-0/+98
| | | | llvm-svn: 245870
* fix typo; NFCSanjay Patel2015-08-241-1/+1
| | | | llvm-svn: 245869
* Start recording the section of symbols in the symbol table.Rafael Espindola2015-08-245-19/+74
| | | | | | Support for more than 64 K sections to follow shortly. llvm-svn: 245868
* [libclang] For convenience to clients, make sure that nullability and ↵Argyrios Kyrtzidis2015-08-243-0/+30
| | | | | | | | | | __kindof annotations do not hide the underlying type. rdar://22063577 llvm-svn: 245867
* [ARM] Error out on apple darwin platforms if float-abi is "hard".Akira Hatanaka2015-08-242-0/+9
| | | | | | | | | | | | | Error out if the user tries to use float-abi="hard" since it isn't supported on darwin platforms. Previously clang issued no warnings or erros and just passed the option to the backend, which had no effect on code generation for targets using apcs. rdar://problem/22257950 Differential Revision: http://reviews.llvm.org/D12155 llvm-svn: 245866
* [autoconf] Properly exclude sanitizer_common nolibc sources from build.Alexey Samsonov2015-08-241-1/+2
| | | | llvm-svn: 245865
* Add release goals to TODO.txtEric Fiselier2015-08-241-0/+10
| | | | llvm-svn: 245864
* Read the alignment only when used.Rafael Espindola2015-08-242-5/+2
| | | | | | | The rest of the header was already read lazily, no point in having align be special. llvm-svn: 245863
* [PPC64LE] Fix PR24546 - Swap optimization and debug valuesBill Schmidt2015-08-242-0/+119
| | | | | | | | | | This patch fixes PR24546, which demonstrates a segfault during the VSX swap removal pass. The problem is that debug value instructions were not excluded from the list of instructions to be analyzed for webs of related computation. I've added the test case from the PR as a crash test in test/CodeGen/PowerPC. llvm-svn: 245862
* Fixing some copy-pasta comments; NFC.Aaron Ballman2015-08-241-1/+1
| | | | llvm-svn: 245861
* [WebAssembly] Skeleton FastISel supportDan Gohman2015-08-248-1/+143
| | | | llvm-svn: 245860
* [WebAssembly] Implement floating point rounding operators.Dan Gohman2015-08-244-12/+96
| | | | llvm-svn: 245859
* [docs][PerformanceTips] Framing the generic IR tipsPhilip Reames2015-08-241-14/+32
| | | | llvm-svn: 245858
* [docs][PerformanceTips] Point people towards llvm-devPhilip Reames2015-08-241-0/+7
| | | | llvm-svn: 245856
* [docs] Further organization of the Performance Tips documentPhilip Reames2015-08-241-15/+54
| | | | | | | | Arranging the language specific property section into readable groupings and adding a couple of notes about pass order, extensions, and the like. For the record, suggestion for word smithing are welcomed. I'm happy to revise; I'm just trying to get *something* in place. llvm-svn: 245855
* [docs] Organize the 'Performance Tips' pagePhilip Reames2015-08-241-46/+54
| | | | | | This change just groups the suggestions by broad topic. I'm planning a couple of follow on changes to improve the readability of this document. llvm-svn: 245854
* [WebAssembly] Tell TargetTransformInfo about popcnt and sqrt.Dan Gohman2015-08-242-4/+10
| | | | llvm-svn: 245853
* [WebAssembly] Use the checked form of MachineFunction::getSubtarget. NFC.Dan Gohman2015-08-242-4/+3
| | | | llvm-svn: 245852
* [WebAssembly] Implement the is_zero_undef forms of cttz and ctlzDan Gohman2015-08-243-0/+42
| | | | llvm-svn: 245851
* Reorg code to allow Windows Process Plugins to share some common code.Adrian McCarthy2015-08-2430-1409/+1409
| | | | | | Differential Revision: http://reviews.llvm.org/D12252 llvm-svn: 245850
* Fix a crasher found by libFuzzerMarshall Clow2015-08-242-0/+25
| | | | llvm-svn: 245849
* Add the correct decorator to TestCreateDuringInstructionStepPavel Labath2015-08-241-5/+1
| | | | | | apparently, just placing the file under linux/ does not make the test linux specific. :) llvm-svn: 245848
* Delete empty test/elfv2 folder. NFCSimon Atanasyan2015-08-240-0/+0
| | | | llvm-svn: 245847
* clang-format: Always allow break after leading annotations.Daniel Jasper2015-08-242-1/+3
| | | | | | | | | | | Before: DEPRECATED("Use NewClass::NewFunction instead.") int OldFunction( const string &parameter) {} Could not be formatted at all, as clang-format would both require and disallow the break before "int". llvm-svn: 245846
* Remove a duplicated member variable. NFC.Rafael Espindola2015-08-241-4/+7
| | | | | | This just makes it clear that, for now, there is only one symbol table. llvm-svn: 245844
* clang-format: Make formatting of member function reference qualifiersDaniel Jasper2015-08-243-8/+17
| | | | | | | | | | | | | | more consistent. Before: SomeType MemberFunction(const Deleted &)&&; SomeType MemberFunction(const Deleted &) && { ... } After: SomeType MemberFunction(const Deleted &)&&; SomeType MemberFunction(const Deleted &)&& { ... } llvm-svn: 245843
* Fix TestCreateDuringInstructionStep on i386Pavel Labath2015-08-241-1/+1
| | | | llvm-svn: 245842
* [dfsan] Enable DFSan for AArch64/42-bit VMAAdhemerval Zanella2015-08-242-0/+28
| | | | | | | | | This patch adds support for dfsan on aarch64-linux with 42-bit VMA (current default config for 64K pagesize kernels). The support is enabled by defining the SANITIZER_AARCH64_VMA to 42 at build time for both clang/llvm and compiler-rt. The default VMA is 39 bits. llvm-svn: 245841
* [sanitizers] Add DFSan support for AArch64 42-bit VMAAdhemerval Zanella2015-08-241-0/+14
| | | | | | | | | This patch adds support for dfsan on aarch64-linux with 42-bit VMA (current default config for 64K pagesize kernels). The support is enabled by defining the SANITIZER_AARCH64_VMA to 42 at build time for both clang/llvm and compiler-rt. The default VMA is 39 bits. llvm-svn: 245840
* Simplify NativeThreadLinux includesPavel Labath2015-08-241-4/+1
| | | | | | | there is no need to include architecture-specific register contexts when the generic one will suffice. llvm-svn: 245839
* Make TestCreateDuringInstructionStep linux-specificPavel Labath2015-08-244-60/+64
| | | | | | | | | | | | | | | | | | Summary: There were a number of issues about the way I have designed this test originally: - it relied on single-stepping through large parts of code, which was slow and unreliable - the threading libraries interfered with the exact thing we wanted to test For this reason, I have rewritted the test using low-level linux api, which allows the test to be much more focused. The functionality for other platforms will need to be tested separately. Reviewers: tberghammer Subscribers: tberghammer, danalbert, srhines, lldb-commits Differential Revision: http://reviews.llvm.org/D12280 llvm-svn: 245838
OpenPOWER on IntegriCloud