summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [C++11] Replacing FunctionTemplateDecl iterators spec_begin() and spec_end() ↵Aaron Ballman2014-03-145-17/+14
| | | | | | with iterator_range specializations(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203938
* [C++11] Replacing OMPThreadPrivateDecl and OMPClause iterators ↵Aaron Ballman2014-03-1410-56/+47
| | | | | | varlist_begin() and varlist_end() with iterator_range varlists(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203937
* [docs] Add links to XMOS XCore documentation.Richard Osborne2014-03-141-0/+6
| | | | | | | | | | Summary: Add links to XCore ISA and ABI documents. CC: llvm-commits, rafael Differential Revision: http://llvm-reviews.chandlerc.com/D2981 llvm-svn: 203936
* Objective-C++ IRGen. Due to change to AST for initialization of c++11’s Fariborz Jahanian2014-03-142-1/+36
| | | | | | | | data members by addition of CXXDefaultInitExpr node to the initializer expression, it has broken treatment of arc code for such initializations. Reviewed by John McCall. // rdar://16299964 llvm-svn: 203935
* x86: getCalleeSavedRegs() would crash on 0 (so don't default to it)Duncan P. N. Exon Smith2014-03-142-1/+2
| | | | | | | The current logic assumes that MF is not 0. Assert that it isn't, and remove the default of 0 from the header. llvm-svn: 203934
* [C++11] Replacing DeclContext iterators lookups_begin() and lookups_end() ↵Aaron Ballman2014-03-143-7/+16
| | | | | | with iterator_range lookups(). Similar for noload_lookups(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203933
* [C++11] Replacing ObjCImplementationDecl iterators ivar_begin() and ↵Aaron Ballman2014-03-145-18/+13
| | | | | | ivar_end() with iterator_range ivars(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203932
* Fix a bug introduced during the transition to PathV2.Rafael Espindola2014-03-141-1/+1
| | | | | | | | | sys::fs::createUniqueFile returns an absolute path, so MakeSharedObject does too and we don't need to add a './' prefix. Patch by Jon McLachlan. llvm-svn: 203931
* [C++11] Replacing ObjCCategoryDecl iterators propimpl_begin() and ↵Aaron Ballman2014-03-1413-92/+46
| | | | | | propimpl_end() with iterator_range property_impls(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203930
* Don't verify module inclusions in assembler files.Daniel Jasper2014-03-145-2/+11
| | | | llvm-svn: 203929
* Delete unused ObjectFile::{begin,end}_symbols()Alexey Samsonov2014-03-141-17/+0
| | | | llvm-svn: 203928
* [C++11] Introduce SectionRef::relocations() to use range-based loopsAlexey Samsonov2014-03-149-90/+77
| | | | | | | | | | | | Reviewers: rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3077 llvm-svn: 203927
* Separate out MVT in a separate header file: MachineValueType.hPatrik Hagglund2014-03-142-558/+581
| | | | | | | | | | The idea behind this split of ValueTypes.h, is to make it easier to ensure that stuff after type legalization only use MVT (rather than EVT), by watching include dependencies. Reviewed By: Tim Northover llvm-svn: 203926
* autoconf: Fix module loading in testsTobias Grosser2014-03-142-8/+10
| | | | llvm-svn: 203925
* [C++11] Replacing ObjCCategoryDecl iterators ivar_begin() and ivar_end() ↵Aaron Ballman2014-03-142-4/+5
| | | | | | with iterator_range ivars(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203924
* [C++11] Replacing ObjCCategoryDecl iterators protocol_loc_begin() and ↵Aaron Ballman2014-03-142-4/+7
| | | | | | protocol_loc_end() with iterator_range protocol_locs(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203923
* [C++11] Replacing ObjCCategoryDecl iterators protocol_begin() and ↵Aaron Ballman2014-03-1410-50/+33
| | | | | | protocol_end() with iterator_range protocols(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203922
* [ppc64] Avoid copy relocs in named rodata sectionsUlrich Weigand2014-03-142-13/+20
| | | | | | | | | | | | | | Commit r181723 introduced code to avoid placing initialized variables needing relocations into the .rodata section, which avoid copy relocs that do not work as expected on ppc64 function references. The same treatment is also needed for *named* .rodata.XXX sections. This patch changes PPC64LinuxTargetObjectFile::SelectSectionForGlobal to modify "Kind" *before* calling the default SelectSectionForGlobal routine, instead of first calling the default routine and then just checking for the (main) .rodata section afterwards. llvm-svn: 203921
* clang/test/CodeGen/aarch64-varargs.c: Suppress this for -Asserts, for now.NAKAMURA Takumi2014-03-141-0/+3
| | | | llvm-svn: 203920
* [C++11] Replacing ObjCProtocolDecl iterators protocol_loc_begin() and ↵Aaron Ballman2014-03-142-4/+7
| | | | | | protocol_loc_end() with iterator_range protocol_locs(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203919
* AArch64_be specific clang target settingsChristian Pirker2014-03-144-3/+36
| | | | llvm-svn: 203918
* AArch64_be varargs processing for ARM ABIChristian Pirker2014-03-142-7/+49
| | | | llvm-svn: 203917
* [ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=274Alexander Potapenko2014-03-143-3/+35
| | | | | | | by ignoring globals from __TEXT,__cstring,cstring_literals during instrumenation. Add a regression test. llvm-svn: 203916
* Use ctor instead of initializer list to appease Windows buildbotsAlexey Samsonov2014-03-142-1/+2
| | | | llvm-svn: 203915
* Use temporary instead of a local variable hereAlexey Samsonov2014-03-141-2/+1
| | | | llvm-svn: 203914
* [ASan] Remove the unneeded ASAN_RUNTIME_LDFLAGS.Alexander Potapenko2014-03-141-2/+1
| | | | llvm-svn: 203913
* Remove unused typedef as pointed out by a GCC warning.Benjamin Kramer2014-03-141-1/+0
| | | | | | Yay for auto. llvm-svn: 203912
* [CMake] Add trailing newline to test source file to make sure -Wnewline-eof ↵Alexey Samsonov2014-03-141-1/+1
| | | | | | doesn't fire llvm-svn: 203911
* [sanitizer] fully implement racy fast path in bitset-based deadlock detectorKostya Serebryany2014-03-142-3/+20
| | | | llvm-svn: 203910
* Generalise assembly tests to not rely on anonymous symbol namesOliver Stannard2014-03-142-44/+44
| | | | llvm-svn: 203909
* AddressSanitizer instrumentation for MOV and MOVAPS.Evgeniy Stepanov2014-03-147-3/+547
| | | | | | | | This is an initial version of *Sanitizer instrumentation of assembly code. Patch by Yuri Gorshenin. llvm-svn: 203908
* MergeFunctions, cmpType: fixed variable names from XXTy1 and XXTy2 to XXTyL ↵Stepan Dyatkovskiy2014-03-141-29/+29
| | | | | | and XXTyR. llvm-svn: 203907
* Use the correct symbol for a left bracket.Bill Wendling2014-03-141-1/+1
| | | | | | PR19089 llvm-svn: 203906
* MergeFunctions, cmpType: Fixed comments wrapping.Stepan Dyatkovskiy2014-03-141-1/+2
| | | | llvm-svn: 203905
* [sanitizer] partially implement racy fast path in bitset-based deadlock detectorKostya Serebryany2014-03-144-0/+30
| | | | llvm-svn: 203904
* Remove redundant "virtual" keyword.Rui Ueyama2014-03-141-1/+1
| | | | llvm-svn: 203903
* [sanitizer] in bitset-based deadlock detector collect edge's stack trace ↵Kostya Serebryany2014-03-144-19/+95
| | | | | | when an edge is added to the graph (in following CLs these stack traces will be added to the report) llvm-svn: 203902
* [PECOFF] Handle large objects having more than 32768 sections.Rui Ueyama2014-03-141-2/+4
| | | | | | | The COFF spec says that the SectionNumber field in the symbol table is 16 bit signed type, but MSVC treats the field as if it is unsigned. llvm-svn: 203901
* [yaml2obj][ELF] Use range-based for loops.Simon Atanasyan2014-03-141-4/+2
| | | | llvm-svn: 203900
* [yaml2obj][ELF] Refer to a section in the error message by its name notSimon Atanasyan2014-03-141-1/+1
| | | | | | index. llvm-svn: 203899
* [yaml2obj][ELF] Remove unused ELFState class field.Simon Atanasyan2014-03-141-7/+4
| | | | llvm-svn: 203898
* [yaml2obj][ELF] Assign name (.shstrtab) to the section holds sections names.Simon Atanasyan2014-03-142-0/+14
| | | | llvm-svn: 203897
* [Mips] Add one more MIPS relocation type constant.Simon Atanasyan2014-03-141-1/+2
| | | | llvm-svn: 203896
* De-virtualize a method that doesn't override anything and has no overrides ↵Craig Topper2014-03-141-2/+2
| | | | | | itself. llvm-svn: 203895
* Remove seemingly dead method. It was marked virtual but doesn't override ↵Craig Topper2014-03-141-1/+0
| | | | | | anything and there don't seem to be any in tree callers. llvm-svn: 203894
* [C++11] Add 'override' keyword to virtual methods that override their base ↵Craig Topper2014-03-1410-416/+393
| | | | | | class. llvm-svn: 203893
* [PECOFF] Fix link order.Rui Ueyama2014-03-142-25/+20
| | | | | | | | | | | | | | | | LLD fails to link symbol "_main" if the symbol is in a library file and the library file is given as a bare argument (i.e. not with /defaultlib option). It's because library files given as bare arguments are processed before other libraries given with /defaultlib, so when Linker finds msvcrtd needs a definition for "_main", the file providing the main function has already been processed and skipped. Linker don't revisit libraries if it's not given with /defaultlib. To fix it this patch change the way of command line handling; files end with ".lib" are treated as if they are given with /defaultlib. I don't believe it's 100% correct behavior but it's better than before. llvm-svn: 203892
* [PECOFF] Fix arguments passed to lib.exe.Rui Ueyama2014-03-142-1/+2
| | | | llvm-svn: 203891
* Revert r203883 (which was more of a bandaid) and fix the real underlyingOwen Anderson2014-03-142-1/+3
| | | | | | | | issue in that the new MachineRegisterInfo bundle iterators didn't dereference to the START of the bundle, while the old skipBundle() method did. llvm-svn: 203890
* [PECOFF] Make WinLinkDriver::parse() and allocate*() functions thread-safe.Rui Ueyama2014-03-143-8/+38
| | | | | | Looks like a major cause of instability on Windows is this thread-safety bug. llvm-svn: 203889
OpenPOWER on IntegriCloud