summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add CODE_OWNERS.TXTAlexey Samsonov2014-02-271-0/+53
| | | | llvm-svn: 202377
* update the declaration from llvm::OwningPtr to llvm::IntrusiveRefCntPtr to ↵Sylvestre Ledru2014-02-271-1/+1
| | | | | | match the clang update (r202346) on ASTContext llvm-svn: 202376
* [docs] Actually spell out the new version requirements for the host C++Chandler Carruth2014-02-271-79/+19
| | | | | | | | | | | | | | | | | | | toolchain of LLVM. These are already being enforced by the build system and have been discussed quite a few times on the lists, but documentation is important. =] Also, garbage collect the majority of the information about broken host GCC toolchains. These aren't really relevant any more as they're all older than the minimum requirement. I've left a few notes about compilers one step older than the current requirement as these compilers are at least conceivable to use, and it's better to preserve this kind of hard-won institutional knowledge. The next step will be some specific docs on how to set up a sufficiently modern host toolchain if your system doesn't come with one. But that'll be tomorrow. =] llvm-svn: 202375
* [sanitizer] Fix iOS build.Evgeniy Stepanov2014-02-271-0/+3
| | | | llvm-svn: 202374
* [docs] Clean up some of the required software to not mention irrelevantChandler Carruth2014-02-271-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bits of software and to use a modern GCC version. The Subversion bit was weird anyways -- it has nothing to do with compiling LLVM. Also, there are many other ways to get at the trunk source (git, git-svn, etc). The TeXinfo thing... I have no idea about. But you can get a working LLVM w/o it pretty easily. If man pages or something are missing, that hardly seems like a problem. If folks really want this back, let me know, but it seems mostly like a distraction. I'd still like to separate this into: - Required software to compile. - Optional software to compile. - Required software for certain *contributor* activities (like regenerating configure scripts). Also we need to mention that there are multiple options for build systems, and the differences. Also we should mention Windows. Also probably other stuff I'm forgetting. I'm wondering if this whole thing needs to be shot in the head and we should just start a new, simpler getting started that doesn't have so many years of accumulated stuff that is no longer relevant. llvm-svn: 202373
* [docs] Switch this table to the simple form as well. No content changed.Chandler Carruth2014-02-271-23/+14
| | | | llvm-svn: 202372
* [docs] Switch to the incredibly simpler "simple table" form. It nowChandler Carruth2014-02-271-29/+17
| | | | | | | actually looks like the table on the webpage and is entertainingly smaller, easier to read, and easier to edit. llvm-svn: 202371
* [docs] Delete tons of bad information in the requirements section of theChandler Carruth2014-02-271-45/+14
| | | | | | | | | | | | | | | | | | | | | | | getting started guide. Some highlights: - I heard there was this Clang compiler that you could use for your host compiler. Not sure though. - We no longer have a GCC frontend with weird build restrictions. - Windows is doing a bit better than partially supported. - We nuked everything to do with itanium. - SPUs? Really? - Xcode 2.5 and gcc 4.0.1 are really not a concern -- they don't work. - OMG, we actually tried building LLVM on Alpha? Really? - PowerPC works pretty well these days. There is still a lot of stuff here I'm pretty dubious about, but I nuked most of what was actively misleading, out of date, or patently wrong. Some of it (mingw stuff especially) isn't really lacking, its just that the comments here were actively wrong. Hopefully folks that know those platforms can add back correct / modern information. llvm-svn: 202370
* Stop test/CodeGen/X86/v4i32load-crash.ll targeting non-X86-64 targets.Daniel Sanders2014-02-271-2/+3
| | | | | | | | | | | | | Summary: Fixes an issue where a test attempts to use -mcpu=x86-64 on non-X86-64 targets. This triggers an assertion in the MIPS backend since it doesn't know what ABI to use by default for unrecognized processors. CC: llvm-commits, rafael Differential Revision: http://llvm-reviews.chandlerc.com/D2877 llvm-svn: 202369
* tsan: fix deadlock detector lit test outputDmitry Vyukov2014-02-271-1/+1
| | | | llvm-svn: 202368
* [CMake] Teach build system to build/test compiler-rt with a just-built ClangAlexey Samsonov2014-02-271-1/+65
| | | | | | | | | | | | | | | | | | | With this change, one may set LLVM_BUILD_EXTERNAL_COMPILER_RT option to build compiler-rt libraries with just-built Clang. make compiler-rt in the build tree will build all compiler-rt libraries with just-built Clang and copy them to the proper location in the Clang resource directory. make check-compiler-rt will run the compiler-rt test suite using just-built Clang and runtime libraries. The goal is to make LLVM_BUILD_EXTERNAL_COMPILER_RT the default, so that we can always build compiler-rt libraries with Clang, not the host compiler, and for all the platforms Clang can target. llvm-svn: 202367
* tsan: add another deadlock detector benchmarkDmitry Vyukov2014-02-271-0/+29
| | | | llvm-svn: 202366
* tsan: fix internal deadlock detector for external deadlock detectorDmitry Vyukov2014-02-273-3/+4
| | | | | | we must go deeper! llvm-svn: 202365
* [sanitizer] Sizes and layouts for sanitizers on FreeBSD.Evgeniy Stepanov2014-02-272-186/+346
| | | | | | Patch by Viktor Kutuzov. llvm-svn: 202364
* [CMake] Introduce LLVM_BUILD_EXTERNAL_COMPILER_RT optionAlexey Samsonov2014-02-272-1/+6
| | | | llvm-svn: 202363
* [asan] Install asan_device_setup to bin/ when targetting Android.Evgeniy Stepanov2014-02-274-0/+22
| | | | | | | | | | asan_device_setup is a utility that prepares a device to run code built with ASan. Essentially, it installs ASan runtime library into the system. For this reason, it has to be at a predictable relative path from the runtime library itself. We also plan to distribute this utility, packaged with runtime library and maybe llvm-symbolizer, to the users. llvm-svn: 202362
* tsan: add recursive deadlock detector benchmarkDmitry Vyukov2014-02-271-3/+30
| | | | llvm-svn: 202361
* [OPENMP] First changes for Parsing and Sema for 'omp simd' directive supportAlexey Bataev2014-02-2724-57/+461
| | | | llvm-svn: 202360
* [asan] Don't disable SEGV handler on Android by default.Evgeniy Stepanov2014-02-271-5/+1
| | | | | | This is done mostly for consistency, because this setting is normally overridden in cmake. llvm-svn: 202359
* tsan: improve deadlock detector testDmitry Vyukov2014-02-271-18/+51
| | | | | | | | - allow to specify which test to run - allow to specify number of iterations - specify number of threads required in the test itself llvm-svn: 202358
* Don't emit anything into the debug_ranges section if we aren't emittingEric Christopher2014-02-272-1/+51
| | | | | | | | | | any ranges - this includes CU ranges where we were previously emitting an end list marker even if we didn't have a list. Testcase includes a test for line table only code emission as the problem was noticed while writing this test. llvm-svn: 202357
* [CMake] Make sure add_compiler_rt_resource_file doesn't do unnecessary workAlexey Samsonov2014-02-271-2/+4
| | | | llvm-svn: 202356
* Add accidentally removed -DAlexey Samsonov2014-02-271-1/+1
| | | | llvm-svn: 202355
* Exception handling docs: Fix a typoMark Seaborn2014-02-271-1/+1
| | | | llvm-svn: 202354
* Move COMPILER_RT_HAS_FUNC check from r202303 to config-ix.cmakeAlexey Samsonov2014-02-272-3/+6
| | | | llvm-svn: 202353
* [-Wunreachable-code] Don't warn about trivially unreachable return ↵Ted Kremenek2014-02-272-4/+70
| | | | | | statements preceded by 'noreturn' functions. llvm-svn: 202352
* Fix test case indentation.Ted Kremenek2014-02-271-1/+1
| | | | llvm-svn: 202351
* [Hexagon] Rename the header file.Shankar Easwaran2014-02-272-5/+5
| | | | | | | | This is to accomodate future changes for newer revisions of the DSP. No change in functionality. llvm-svn: 202350
* [-Wunreachable-code] Don't warn about unreachable 'default:' cases.Ted Kremenek2014-02-272-1/+30
| | | | | | They are covered by -Wcovered-switch-default. llvm-svn: 202349
* [X86] Fix Uses/Defs lists for INS, OUTS, SCAS, CMPS, LODSCraig Topper2014-02-272-29/+49
| | | | llvm-svn: 202348
* [X86] Add RAX/EAX/AX Uses/Defs to XCHG RAX/EAX/AX instructions.Craig Topper2014-02-271-0/+4
| | | | llvm-svn: 202347
* [ASTUnit] Fix use-after-free bug in ↵Argyrios Kyrtzidis2014-02-2710-59/+51
| | | | | | | | | | | | | | | ASTUnit::getMainBufferWithPrecompiledPreamble(). With r197755 we started reading the contents of buffer file entries, but the buffers may point to ASTReader blobs that have been disposed. Fix this by having the CompilerInstance object keep a reference to the ASTReader as well as having the ASTContext keep reference to the ExternalASTSource. This was very difficult to construct a test case for. rdar://16149782 llvm-svn: 202346
* [X86] Add RAX/EAX/AX/AL Uses/Defs to the absolute memory location move ↵Craig Topper2014-02-271-0/+20
| | | | | | instructions. Patch by Florian Lukas with some additional instructions fixed by me. Fixes PR18975. llvm-svn: 202345
* Fix indentation.Craig Topper2014-02-271-1/+1
| | | | llvm-svn: 202344
* Change this test to not try to emit any IR. (It should fail to, but it tries ↵Nick Lewycky2014-02-271-1/+1
| | | | | | to create an output file before encountering the error.) llvm-svn: 202343
* Fix odd indentation.Craig Topper2014-02-271-1/+1
| | | | llvm-svn: 202342
* Revert "Use count 0."Juergen Ributzka2014-02-271-1/+4
| | | | | | | This reverts commit r202283, because when we use GuardMalloc the test will fail due to additional output to std err. llvm-svn: 202341
* As of r202325, CFGBlock predecessors may be NULL. Ignore such preds. Fixes a ↵Nick Lewycky2014-02-272-0/+14
| | | | | | crasher, PR18983. llvm-svn: 202340
* LWG issue #2188: Reverse iterator does not fully support targets that ↵Marshall Clow2014-02-273-4/+44
| | | | | | overload operator&. Also mark #2272 and #2299 as complete; libc++ already implements them. llvm-svn: 202339
* Revert "Use StringRef in raw_fd_ostream constructor"Ben Langmuir2014-02-272-3/+4
| | | | | | This reverts commit r202225, which may cause a performance regression. llvm-svn: 202338
* R600/SI: Optimize SI_KILL for constant operandsMichel Danzer2014-02-273-9/+24
| | | | | | | | If the SI_KILL operand is constant, we can either clear the exec mask if the operand is negative, or do nothing otherwise. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 202337
* R600/SI: Allow SI_KILL for geometry shadersMichel Danzer2014-02-272-3/+25
| | | | | Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 202336
* Add category test case for attribute ↵Ted Kremenek2014-02-271-2/+17
| | | | | | | | | 'objc_protocol_requires_explicit_implementation'. This test also illustrates that checking for properties is not working properly with this attribute, as we are missing a diagnostic for a property not being implemented. llvm-svn: 202335
* Pass down the debug emission kind into the compile unit for codeEric Christopher2014-02-272-6/+8
| | | | | | | generation purposes. Paired with a commit to llvm. llvm-svn: 202334
* If we're only emitting line tables for a particular CU then don't addEric Christopher2014-02-275-6/+11
| | | | | | | | | | | any ranges to the list of ranges for the CU as we don't want to emit them anyway. This ensures that we will still emit ranges if we have a compile unit compiled with only line tables and one compiled with full debug info requested (we'll emit for the one with full debug info). Update testcase metadata accordingly to continue emitting ranges. llvm-svn: 202333
* Add a debug info code generation level to the compile unit metadataEric Christopher2014-02-277-7/+13
| | | | | | | | | | and update everything accordingly. This can be used to conditionalize the amount of output in the backend based on the amount of debug requested/metadata emission scheme by a front end (e.g. clang). Paired with a commit to clang. llvm-svn: 202332
* [MS ABI] Error instead of generating bad vftables for certain virtual ↵Hans Wennborg2014-02-273-1/+70
| | | | | | | | | | | hierarchies (PR18967) Erroring out until we fix the bug means we don't have to keep chasing down this same miscompile in a bunch of different places. Differential Revision: http://llvm-reviews.chandlerc.com/D2890 llvm-svn: 202331
* Fix -Wunused-variable in non-assert builds. No functionality change.Nick Lewycky2014-02-271-0/+1
| | | | llvm-svn: 202330
* Add a 'use-external-names' option to VFS overlay filesBen Langmuir2014-02-273-26/+99
| | | | | | | | | | | | | | | | When true, sets the name of the file to be the name from 'external-contents'. Otherwise, you get the virtual path that the file was looked up by. This will not affect any non-virtual paths, or fully virtual paths (for which there is no reasonable 'external' name anyway). The setting is available globally, but can be overriden on a per-file basis. The goal is that this setting will control which path you see in debug info, diagnostics, etc. which are sensitive to which path is used. That will come in future patches that pass the name through to FileManager. llvm-svn: 202329
* [-Wunreachable-code] Prune out unreachable warnings where a 'break' is ↵Ted Kremenek2014-02-272-7/+64
| | | | | | | | | | | | | | | preceded by a call to a 'noreturn' function. For example: unreachable(); break; This code is idiomatic and defensive. The fact that 'break' is unreachable here is not interesting. This occurs frequently in LLVM/Clang itself. llvm-svn: 202328
OpenPOWER on IntegriCloud