summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [codeview] Wire up the .cv_inline_linetable directiveReid Kleckner2016-02-0221-118/+410
| | | | | | | | This directive emits the binary annotations that describe line and code deltas in inlined call sites. Single-stepping through inlined frames in windbg now works. llvm-svn: 259535
* PR23057: Fix assertion `Val && "isa<> used on a null pointer"' on invalid ↵Denis Zobnin2016-02-024-1/+28
| | | | | | | | | | | for-range expression. Fix the issue discovered by fuzzing (PR23057, comment 18) by handling nullptr in Sema::ActOnCXXForRangeDecl and correct delayed typos in for-range expression before calling Sema::ActOnCXXForRangeStmt. Also fixes PR26288. Differential Revision: http://reviews.llvm.org/D16630 llvm-svn: 259532
* [clang-tidy] Removed unnecessary parameters in the testAlexander Kornienko2016-02-021-1/+1
| | | | llvm-svn: 259531
* [clang-tidy] Add non-constant references in function parameters check.Alexander Kornienko2016-02-027-0/+306
| | | | | | | | | | | | | | | Summary: This is implemented originally by Alexander Kornienko. Reviewers: alexfh Subscribers: cfe-commits Patch by Haojian Wu! Differential Revision: http://reviews.llvm.org/D16717 llvm-svn: 259530
* Marking the mmap_stress.cc TSan test as unsupported on OS X (it's flaky here).Kuba Brecka2016-02-021-0/+4
| | | | llvm-svn: 259529
* [MC] Enable eip-relative addressing on x86-64 for X32 ABIDerek Schuff2016-02-022-1/+40
| | | | | | | | | | | | | | | | | Summary: Enables eip-based addressing, e.g., lea constant(%eip), %rax lea constant(%eip), %eax in MC, (used for the x32 ABI). EIP-base addressing is also valid in x86_64, it is left enabled for that architecture as well. Patch by João Porto Differential Revision: http://reviews.llvm.org/D16581 llvm-svn: 259528
* XFAIL TestConsecutiveBreakpoints.test_single_step_thread_specific on OSXPavel Labath2016-02-021-0/+1
| | | | llvm-svn: 259527
* skip TestWatchLocation on OS XTodd Fiala2016-02-021-0/+1
| | | | | | | | Skipping this test while I investigate. It started failing with r259379. (It is generating an error due to unicode decode issues.) llvm-svn: 259526
* ScopInfo: Split memory access construction into different casesTobias Grosser2016-02-022-19/+104
| | | | | | | | | We create separate functions for fixed-size multi-dimensional, parameteric-sized multi-dimensional, as well as single-dimensional memory accesses to reduce the complexity of a large monolithic function. Suggested-by: Michael Kruse <llvm@meinersbur.de> llvm-svn: 259522
* ScopInfo: Do not track element-size as additional array size dimension [NFC]Tobias Grosser2016-02-022-17/+21
| | | | | | | | There is no need to pass the size of the elements as the last size dimension to ScopArrayInfo. This information is already available through the ElementType. Tracking it twice is not only redundant but may result in inconsistencies. llvm-svn: 259521
* Revert r259512 - [tsan] Add a libc++ and lit testsuite for each ↵Daniel Sanders2016-02-024-42/+12
| | | | | | | | | ${TSAN_SUPPORTED_ARCH}. check-tsan does not pick up the correct libc++.so. It succeeded on my machine by picking up the libc++.so that was built before making this change. llvm-svn: 259519
* Make CodeGen headers self-contained.Benjamin Kramer2016-02-021-1/+1
| | | | llvm-svn: 259518
* Remove redundant test in TestExitDuringStepPavel Labath2016-02-021-12/+4
| | | | | | | | | After recent changes, test_thread_state_is_stopped has become equivalent to test_step_in, as the function exit_during_step_base was not using the "test_thread_state" parameter. As test was XFAILed on all platforms anyway, and we have other tests for the bug which it (used to) test, I am simply removing the function. llvm-svn: 259517
* Expand comment a bit.Rafael Espindola2016-02-021-0/+5
| | | | | | | I have spent some time prototyping this idea. While it seems to work, I now think it is probably not worth it. llvm-svn: 259516
* [AArch64] Add a FIXME comment.Chad Rosier2016-02-021-0/+2
| | | | llvm-svn: 259515
* Log error message in SBTarget::LaunchPavel Labath2016-02-021-3/+2
| | | | llvm-svn: 259514
* Mark TestProcessIO.test_stdin_redirection as flaky on androidPavel Labath2016-02-021-0/+1
| | | | | | bug #26437 llvm-svn: 259513
* [tsan] Add a libc++ and lit testsuite for each ${TSAN_SUPPORTED_ARCH}.Daniel Sanders2016-02-024-12/+42
| | | | | | | | | | | | | | | | | | | | | | | Summary: This is a workaround to a problem in the 3.8 release that affects MIPS and possibly other targets where the default is not supported but a sibling is supported. When TSAN_SUPPORTED_ARCH is not empty, cmake currently attempts to build a tsan'd libcxx as well as test tsan for the default target regardless of whether the default target is supported or not. This causes problems on MIPS32 since tsan is supported for MIPS64 but not MIPS32. This patch causes cmake to only build the libcxx and run the lit test-suite for archictures in ${TSAN_SUPPORTED_ARCH} Reviewers: hans, samsonov Subscribers: tberghammer, llvm-commits, danalbert, srhines, dvyukov Differential Revision: http://reviews.llvm.org/D16685 llvm-svn: 259512
* [WWW] Add our Polly/OpenCL paperJohannes Doerfert2016-02-021-0/+7
| | | | llvm-svn: 259511
* [AArch64] Allocate the modified and used regs only once per function.Chad Rosier2016-02-021-12/+17
| | | | llvm-svn: 259510
* Fix single stepping over the IT instructionTamas Berghammer2016-02-021-5/+16
| | | | | | | | | | | | | | | | | The ARM instruction emulator had 2 bugs related to the handling of the IT instruction causing an error in single stepping: * We haven't initialized the IT mask from the CPSR so if the last instruction of the IT block is a branch and the condition is false then the emulator evaluated the branch what resulted in an incorrect pc for the next instruction. * The ITSTATE was advanced before the execution of each instruction. As a result the emulator was using the condition of following instruction in every case. The ITSTATE should be edvanced after the execution of an instruction except after an IT instruction. Differential revision: http://reviews.llvm.org/D16772 llvm-svn: 259509
* WebAssembly: update expected GCC torture test failuresJF Bastien2016-02-021-3/+0
| | | | | | The 3 programs used __attribute__((mode(?))) on enum, which clang r259497 fixed. llvm-svn: 259508
* Make the remaining headers self-contained.Benjamin Kramer2016-02-0211-11/+14
| | | | llvm-svn: 259507
* [StaticAnalyzer] Pull SymExpr and SymbolData into its own header to avoid ↵Benjamin Kramer2016-02-027-83/+118
| | | | | | cyclic includes. llvm-svn: 259506
* Remove unneeded definition [NFC]Johannes Doerfert2016-02-021-2/+0
| | | | llvm-svn: 259505
* Add const keyword to MemoryAccess argument [NFC]Johannes Doerfert2016-02-022-2/+2
| | | | llvm-svn: 259504
* Sort analysis members and unifiy documentation [NFC]Johannes Doerfert2016-02-021-12/+12
| | | | llvm-svn: 259503
* Rename the DataLayout member [NFC]Johannes Doerfert2016-02-022-4/+4
| | | | llvm-svn: 259502
* Remove helper function [NFC]Johannes Doerfert2016-02-022-13/+8
| | | | llvm-svn: 259501
* Remove unnecessary getAnalysis call [NFC]Johannes Doerfert2016-02-021-2/+1
| | | | llvm-svn: 259500
* Add backend dignostic printer for unsupported featuresOliver Stannard2016-02-025-17/+117
| | | | | | | | | | | | | | Re-commit of r258950 after fixing layering violation. The related LLVM patch adds a backend diagnostic type for reporting unsupported features, this adds a printer for them to clang. In the case where debug location information is not available, I've changed the printer to report the location as the first line of the function, rather than the closing brace, as the latter does not give the user any information. This also affects optimisation remarks. llvm-svn: 259499
* Refactor backend diagnostics for unsupported featuresOliver Stannard2016-02-0219-248/+124
| | | | | | | | | | | | | | | | | Re-commit of r258951 after fixing layering violation. The BPF and WebAssembly backends had identical code for emitting errors for unsupported features, and AMDGPU had very similar code. This merges them all into one DiagnosticInfo subclass, that can be used by any backend. There should be minimal functional changes here, but some AMDGPU tests have been updated for the new format of errors (it used a slightly different format to BPF and WebAssembly). The AMDGPU error messages will now benefit from having precise source locations when debug info is available. llvm-svn: 259498
* Fix for PR8901: attribute "mode" rejected for enums and dependent types.Denis Zobnin2016-02-0211-41/+403
| | | | | | | | | Allow "mode" attribute for enum types, except for vector modes, for compatibility with GCC. Support "mode" attribute with dependent types. Differential Revision: http://reviews.llvm.org/D16219 llvm-svn: 259497
* [X86][AVX512] Add support for AVX512 VMOVQ (load) shuffle decodingSimon Pilgrim2016-02-025-108/+37
| | | | llvm-svn: 259496
* ScopInfo: Rename AccessType -> ElementType to unify naming with method ↵Tobias Grosser2016-02-021-2/+2
| | | | | | declaration llvm-svn: 259495
* Fix build after clang interface change in r259489Pavel Labath2016-02-021-3/+3
| | | | llvm-svn: 259494
* [compiler-rt] add_custom_libcxx should pass LLVM_PATH and a C++ compilerDaniel Sanders2016-02-022-1/+5
| | | | | | | | | | Reviewers: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16681 llvm-svn: 259493
* Test commit (NFC).Denis Zobnin2016-02-021-2/+2
| | | | llvm-svn: 259492
* [OpenCL] Eliminate warning when declaring OpenCL builtin functions.Anastasia Stulova2016-02-022-3/+6
| | | | | | | | | | | | | | OpenCL builtin functions are usually declared in header files. Currently clang emits warning for OpenCL builtin functions which have the same name as standard C library functions. This commit eliminates such warnings by not adding the C standard includes following the restriction from OpenCL v1.2 s6.9.f. Patch by Liu Yaxun (Sam)! Review: http://reviews.llvm.org/D16692 llvm-svn: 259491
* Make headers self-contained.Benjamin Kramer2016-02-023-5/+3
| | | | llvm-svn: 259490
* Move DebugInfoKind into its own header to cut the cyclic dependency edge ↵Benjamin Kramer2016-02-0216-115/+126
| | | | | | from Driver to Frontend. llvm-svn: 259489
* Fix single-stepping onto a breakpointPavel Labath2016-02-023-51/+75
| | | | | | | | | | | | | | | Summary: r259344 introduced a bug, where we fail to perform a single step, when the instruction we are stepping onto contains a breakpoint which is not valid for this thread. This fixes the problem and add a test case. Reviewers: tberghammer, emaste Subscribers: abhishek.aggarwal, lldb-commits, emaste Differential Revision: http://reviews.llvm.org/D16767 llvm-svn: 259488
* clang-format: Make AlignAfterOpenBracket also affect angle brackets.Daniel Jasper2016-02-022-1/+11
| | | | | | Patch by Matthew Whitehead, thank you. llvm-svn: 259487
* www: Mark full/partial tile separation for vectorization as 'done'Tobias Grosser2016-02-021-1/+1
| | | | | | Roman contributed this llvm-svn: 259486
* www: Update statistic codeTobias Grosser2016-02-022-14/+9
| | | | llvm-svn: 259485
* Fix compiler lookup when specified without pathPavel Labath2016-02-022-2/+3
| | | | | | | | | r259433 introduced a regression, where if a compiler is specified without a path (e.g., CC=clang, relying on the fact that clang is in $PATH), then the test suite would fail (at the compiler version detection step) because realpath would interpret this as a path relative to cwd). The fix is to perform the $PATH expansion (via `which`) before the realpath step. llvm-svn: 259484
* www: update formatting of polyhedral.info newsTobias Grosser2016-02-022-5/+21
| | | | llvm-svn: 259483
* WebAssembly: add option to disable register coloringJF Bastien2016-02-021-0/+7
| | | | | | Having this hidden option makes it easier to debug other issues. llvm-svn: 259482
* [ELF] Implemented -Bsymbolic-functions command line optionGeorge Rimar2016-02-027-11/+58
| | | | | | | | | | | | | -Bsymbolic-functions: When creating a shared library, bind references to global function symbols to the definition within the shared library, if any. This patch also fixed behavior of already existent -Bsymbolic: previously PLT entries were created even if -Bsymbolic was specified. Differential revision: http://reviews.llvm.org/D16411 llvm-svn: 259481
* Removed FeatureVFPOnlySP from the Cortex-R7 processor modelSjoerd Meijer2016-02-022-3/+1
| | | | | | | | | description and changed the regression test accordingly. The default configuration of a Cortex-R7 is to implement the VFPv3-D16 architecture and the feature line as it was is too restrictive. llvm-svn: 259480
OpenPOWER on IntegriCloud