summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [llvm-cov] Disable name and path truncationVedant Kumar2015-09-142-6/+22
| | | | | | | | | | | Change the output of llvm-cov s.t it does not truncate function names and file paths when printing coverage reports. Differential Revision: http://reviews.llvm.org/D12647 rdar://22531141 llvm-svn: 247635
* [Solaris] Default to -fno-cxa-finalize.Rafael Espindola2015-09-142-6/+7
| | | | | | | | | | | There is no __cxa_finalize symbol available on recent Solaris OS versions, so we need this flag to make non trivial C++ programs run. Also stop looking for cxa_finalize.o, since it won't be there. Patch by Xan López! llvm-svn: 247634
* Fixup XFAIL marking on TestConstVariables for clang versionTodd Fiala2015-09-141-1/+3
| | | | | | | | | | Linux/clang on clang 3.6+ is passing this test. As OS X was in a similar position, I'm guessing this was fixed by a recent compiler. Might work on 3.5/3.4, but it is definitely working on clang 3.6. I didn't break out FreeBSD since this appears to be related to a compiler fix. llvm-svn: 247633
* [CMake] Refactor and cleanup generating and installing symlinks to tools.Chris Bieneman2015-09-144-58/+78
| | | | | | | | | | | | Summary: This change generalizes symlink generation and makes symlinks to tools obey LLVM_TOOLCHAIN_TOOLS. It makes it so that if you exclude llvm-ar from LLVM_TOOLCHAIN_TOOLS you don't end up with broken symlinks to llvm-lib and llvm-ranlib in your install. Reviewers: bogner, chapuni, rafael Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12864 llvm-svn: 247632
* Fix the Xcode project to compile Cocoa.cpp instead of Coca.cpp.Greg Clayton2015-09-141-4/+4
| | | | llvm-svn: 247631
* Remove include that isn't needed.Greg Clayton2015-09-141-1/+0
| | | | llvm-svn: 247630
* Add a TypeSystem for GoRyan Brown2015-09-1419-26/+2932
| | | | | | | | Add GoASTContext and DWARFASTParserGo to support go. Differential Revision: http://reviews.llvm.org/D12585 llvm-svn: 247629
* Fix CMake build.Chaoren Lin2015-09-142-0/+2
| | | | | | | - Typo: Coca.cpp -> Cocoa.cpp - Missing include. llvm-svn: 247628
* Move Objective-C data formatters to the Objective-C language plugin where ↵Enrico Granata2015-09-1418-380/+394
| | | | | | they belong llvm-svn: 247627
* DwarfDebug: Emit dwo_id+dwo_name for DICompileUnits that provide a dwoId.Adrian Prantl2015-09-142-0/+23
| | | | | | | For module debugging clang emits prefabricated skeleton compile units that can be recognized by a nonzero dwoId. llvm-svn: 247626
* Add content to the .hash section.Rafael Espindola2015-09-142-51/+98
| | | | | | | | | This also sets DT_HASH. With this simple shared libraries created by lld can be loaded by the dynamic linker. llvm-svn: 247625
* [WebAssembly] Define the atomic type sizesDan Gohman2015-09-142-26/+25
| | | | | | | | | | | | | WebAssembly's spec has now been updated to specify some guarantees about lock free atomic accesses. Update clang to match. This also updates sig_atomic_t to be 64-bit on wasm64. WebAssembly does not presently have asynchronous interrupts, but this change is within the spirit of how they will work if they are added. Differential Revision: http://reviews.llvm.org/D12862 llvm-svn: 247624
* [WebAssembly] Simplify code by avoiding duplicating the default behavior.Dan Gohman2015-09-141-1/+0
| | | | llvm-svn: 247623
* [WebAssembly] Use "long long" for int_fast64_t and int_least64_t on wasm64Dan Gohman2015-09-143-22/+36
| | | | | | | | | This makes int_fast64_t and int_least64_t the same type as int64_t, and eliminates a difference between wasm32 and wasm64. Differential Revision: http://reviews.llvm.org/D12861 llvm-svn: 247622
* [opaque pointer types] Add an explicit value type to GlobalObjectDavid Blaikie2015-09-143-12/+10
| | | | | | | | | This is needed by all GlobalObjects (GlobalAlias, Function, GlobalVariable), see the GlobalObject::getValueType which is used in many places. If at some point that can be removed, then we can remove this member. llvm-svn: 247621
* Revert "Always_inline codegen rewrite" and 2 follow-ups.Evgeniy Stepanov2015-09-1416-365/+28
| | | | | | | | | | Revert "Update cxx-irgen.cpp test to allow signext in alwaysinline functions." Revert "[CodeGen] Remove wrapper-free always_inline functions from COMDATs" Revert "Always_inline codegen rewrite." Reason for revert: PR24793. llvm-svn: 247620
* PR24595: Ignore calling convention modifiers for structors in MS ABI.Andrey Bokhanko2015-09-148-17/+68
| | | | | | | | | | MS compiler ignores calling convention modifiers for structors. This patch makes clang do the same (for MS ABI). This fixes PR24595 and makes vswriter.h header (from Windows SDK 8.1) compilable. Differential Revision: http://reviews.llvm.org/D12402 llvm-svn: 247619
* C11 _Bool bitfield diagnosticRachel Craik2015-09-1412-39/+43
| | | | | | | | | | | | Summary: Implement DR262 (for C). This patch will mainly affect bitfields of type _Bool Reviewers: fraggamuffin, rsmith Subscribers: hubert.reinterpretcast, cfe-commits Differential Revision: http://reviews.llvm.org/D10018 llvm-svn: 247618
* [analyzer] Update SATestBuild.py to set -isysroot for preprocessed filesDevin Coughlin2015-09-141-2/+19
| | | | | | | | | Update the static analyzer buildbot script to set -isysroot to the OS X SDK path when analyzing preprocessed files on OS X. Differential Revision: http://reviews.llvm.org/D12769 llvm-svn: 247617
* RegisterPressure: constify getRegSetPressureAtPos()Matthias Braun2015-09-141-1/+3
| | | | llvm-svn: 247616
* ClangExpressionDeclMap should only disable the Clang parser-specific state onSean Callanan2015-09-141-2/+2
| | | | | | Clang persistent variables. llvm-svn: 247615
* [Static Analyzer] Turn on some nullability checks by default.Gabor Horvath2015-09-141-0/+5
| | | | | | Differential Revision: http://reviews.llvm.org/D12858 llvm-svn: 247614
* Use C++11 member initializers. NFC.Rui Ueyama2015-09-141-5/+4
| | | | llvm-svn: 247613
* [Static Analyzer] Nullability checker optimization.Gabor Horvath2015-09-141-1/+6
| | | | | | Differential Revision: http://reviews.llvm.org/D12848 llvm-svn: 247612
* Driver should forward at most one gdwarf-N flag to cc1as.Douglas Katzman2015-09-142-15/+11
| | | | llvm-svn: 247611
* [opaque pointer types] Switch a few cases of getElementType over, since I ↵David Blaikie2015-09-145-26/+21
| | | | | | had them lying around anyway llvm-svn: 247610
* Start adding the .hash output section.Rafael Espindola2015-09-142-1/+59
| | | | | | It is still empty. Content will be added in the next patch. llvm-svn: 247609
* Final unexpected success cleanup for OS X.Todd Fiala2015-09-141-2/+0
| | | | | | | Top of tree is running with no unexpected successes with this change, on latest available El Capitan and Xcode betas. llvm-svn: 247608
* [CMake] Add options to control building sanitizers and builtins.Chris Bieneman2015-09-142-36/+45
| | | | | | There are situations where a user may want to build only the compiler-rt builtins, or only the sanitizer runtimes. This exposes options to do that. Both default to On, so there should be no implicit change in behavior. llvm-svn: 247607
* [CMake] If COMPILER_RT_INCLUDE_TESTS is off we shouldn't include the root ↵Chris Bieneman2015-09-141-1/+1
| | | | | | test directory. llvm-svn: 247606
* Fixes lldb-server commandline test xpass for OS X and Linux; resolves ↵Todd Fiala2015-09-142-4/+1
| | | | | | llvm.org/pr20273 llvm-svn: 247605
* Make AsmPrinter::EmitJumpTableInfo virtualDan Gohman2015-09-141-1/+1
| | | | | | | | | | | Targets that have non-traditional jump table mechanisms may need to do something substantially different for jump tables than what AsmPrinter::EmitJumpTableInfo does. This patch makes that function virtual so that targets can override it. Differential Revision: http://reviews.llvm.org/D12786 llvm-svn: 247604
* [Solaris] Add -lc also when linking shared librariesRafael Espindola2015-09-142-1/+18
| | | | | | | | | | This is actually needed, otherwise libc won't be added at all. For instance when building libclang.so all the libc symbols won't be found, with ld warning about libc being an "implicit dependency". Patch by Xan López! llvm-svn: 247603
* Another round of macosx unexpected success corrections.Todd Fiala2015-09-144-6/+2
| | | | llvm-svn: 247602
* OS X unexpected success cleanupTodd Fiala2015-09-143-6/+11
| | | | | | | | | | TestPersistObjCPointeeType and TestObjCNewSyntax marked up to expect success on clang >= 7.0.0. TestMultipleDebuggers passed 25/25 times, taking off intermittent. If this changes, I'll make sure it goes into a flaky/flakey category. llvm-svn: 247601
* Run polly-check-format with unit testsMichael Kruse2015-09-141-0/+8
| | | | | | | | | Add polly-check-format as dependency of check-polly if clang-format is available in the same build. Differential Revision: http://reviews.llvm.org/D12850 llvm-svn: 247600
* Correctly align sections.Rafael Espindola2015-09-142-2/+17
| | | | | | | | | We have to align the start, not the end. This should fix crashes on systems where memcpy enforces the expected alignment. llvm-svn: 247599
* [Static Analyzer] Relaxing a caching out related assert.Gabor Horvath2015-09-141-1/+4
| | | | | | Differential Revision: http://reviews.llvm.org/D12818 llvm-svn: 247598
* Fix a nasty bug with the partial destruction of nested arrays;John McCall2015-09-143-2/+66
| | | | | | | | | it escaped notice because it's only used for heterogeneous initialization. rdar://21397946 llvm-svn: 247597
* Remove expectedFailureFreeBSD from now-passing testEd Maste2015-09-141-1/+0
| | | | | | | | ExprCommandCallUserDefinedFunction::test_with_dwarf llvm.org/pr20274 llvm-svn: 247596
* [Static Analyzer] Moving nullability checkers out of alpha.Gabor Horvath2015-09-143-4/+4
| | | | llvm-svn: 247595
* Correct XFAIL OS list after r247576Ed Maste2015-09-141-2/+2
| | | | | | | In ConstVariableTestCase::test_with_dwarf_and_run_command - the test fails with Clang (and presumably ICC) also on FreeBSD. llvm-svn: 247594
* [opaque pointer type] Fix a few uses of PointerType::getElementType in favor ↵David Blaikie2015-09-144-12/+10
| | | | | | | | | | of uses of types already available elsewhere These are a few cleanups I happened to have from trying to go in a different direction recently, so just flushing them out while I have them. llvm-svn: 247593
* [CMake] Add llvm-ar subdirectory explicitly.Chris Bieneman2015-09-141-2/+3
| | | | | | This is required because ExternalProject_Add requires all targets specified in the DEPENDS argument must exist before calling ExternalProject_Add. llvm-svn: 247592
* Fix up bad compiler spec on ConstVariableTestCase; fixup two more OS X ↵Todd Fiala2015-09-143-5/+12
| | | | | | unexpected successes. llvm-svn: 247591
* [Static Analyzer] Moving nullability checkers to a top level package.Gabor Horvath2015-09-144-13/+117
| | | | | | Differential Revision: http://reviews.llvm.org/D12852 llvm-svn: 247590
* Remove a debugging printf that got left in SymbolFileDWARFDebugMap.Jim Ingham2015-09-141-1/+0
| | | | llvm-svn: 247589
* RegisterPressure: Simplify close{Top|Bottom}()Matthias Braun2015-09-141-12/+2
| | | | | | | | | | | - There are no duplicate registers in LiveRegs list we are copying from and so we do not need to sort the registers. - Simply use SmallVector::apend instead of a loop between begin() and end() with push_back(). Differential Revision: http://reviews.llvm.org/D12813 llvm-svn: 247588
* [InstCombineCalls] Use isKnownNonNullAt() to check nullness of passing ↵Chen Li2015-09-143-2/+26
| | | | | | | | | | | | | | arguments at callsite Summary: This patch replaces isKnownNonNull() with isKnownNonNullAt() when checking nullness of passing arguments at callsite. In this way it can handle cases where the argument does not have nonnull attribute but has a dominating null check from the CFG. It also adds assertions in isKnownNonNull() and isKnownNonNullFromDominatingCondition() to make sure the value checked is pointer type (as defined in LLVM document). These assertions might trip failures in things which are not covered under llvm/test, but fixes should be pretty obvious. Reviewers: reames Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12779 llvm-svn: 247587
* Revert "[opaque pointer type] update for LLVM API change"David Blaikie2015-09-145-10/+11
| | | | | | | | | | This was the wrong direction to take anyway (because ultimately the GlobalValue needed the pointee type again and /it/ used PointerType::getElementType eventually anyway)... let's go a different way. This reverts commit r236161. llvm-svn: 247586
OpenPOWER on IntegriCloud