Aaron Ballman
c0768e81d3
[C++11] Replacing VarTemplateDecl iterators spec_begin() and spec_end() with iterator_range specializations(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203942
2014-03-14 16:29:14 +00:00
Aaron Ballman
c6e61715dd
Removing some unused iterator methods for partial specializations.
...
llvm-svn: 203941
2014-03-14 16:19:04 +00:00
Aaron Ballman
702fa310e5
[C++11] Replacing ClassTemplateDecl iterators spec_begin() and spec_end() with iterator_range specializations(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203940
2014-03-14 16:13:33 +00:00
Duncan P. N. Exon Smith
fea3c8afd6
x86: NFC: Make getCallPreservedMask() more similar to getCalleeSavedRegs()
...
Changing order of checks in getCallPreservedMask() to match
getCalleeSavedRegs() so that the logic is easier to compare.
llvm-svn: 203939
2014-03-14 16:09:13 +00:00
Aaron Ballman
b8733c5ba4
[C++11] Replacing FunctionTemplateDecl iterators spec_begin() and spec_end() with iterator_range specializations(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203938
2014-03-14 16:05:56 +00:00
Aaron Ballman
2205d2a56a
[C++11] Replacing OMPThreadPrivateDecl and OMPClause iterators 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
2014-03-14 15:55:35 +00:00
Richard Osborne
fdbd8e05b2
[docs] Add links to XMOS XCore documentation.
...
Summary: Add links to XCore ISA and ABI documents.
CC: llvm-commits, rafael
Differential Revision: http://llvm-reviews.chandlerc.com/D2981
llvm-svn: 203936
2014-03-14 15:53:50 +00:00
Fariborz Jahanian
a5a469efbd
Objective-C++ IRGen. Due to change to AST for initialization of c++11’s
...
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
2014-03-14 15:40:54 +00:00
Duncan P. N. Exon Smith
8f66a3afe0
x86: getCalleeSavedRegs() would crash on 0 (so don't default to it)
...
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
2014-03-14 15:38:12 +00:00
Aaron Ballman
576114e676
[C++11] Replacing DeclContext iterators lookups_begin() and lookups_end() with iterator_range lookups(). Similar for noload_lookups(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203933
2014-03-14 15:28:49 +00:00
Aaron Ballman
d6d25de46e
[C++11] Replacing ObjCImplementationDecl iterators ivar_begin() and ivar_end() with iterator_range ivars(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203932
2014-03-14 15:16:45 +00:00
Rafael Espindola
c32573b2d4
Fix a bug introduced during the transition to PathV2.
...
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
2014-03-14 15:13:35 +00:00
Aaron Ballman
d85eff49a3
[C++11] Replacing ObjCCategoryDecl iterators propimpl_begin() and propimpl_end() with iterator_range property_impls(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203930
2014-03-14 15:02:45 +00:00
Daniel Jasper
5c77e39f2d
Don't verify module inclusions in assembler files.
...
llvm-svn: 203929
2014-03-14 14:53:17 +00:00
Alexey Samsonov
011ffb47cf
Delete unused ObjectFile::{begin,end}_symbols()
...
llvm-svn: 203928
2014-03-14 14:52:03 +00:00
Alexey Samsonov
aa4d29571c
[C++11] Introduce SectionRef::relocations() to use range-based loops
...
Reviewers: rafael
Reviewed By: rafael
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3077
llvm-svn: 203927
2014-03-14 14:22:49 +00:00
Patrik Hagglund
6862794206
Separate out MVT in a separate header file: MachineValueType.h
...
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
2014-03-14 13:41:09 +00:00
Tobias Grosser
8111a0ae7d
autoconf: Fix module loading in tests
...
llvm-svn: 203925
2014-03-14 13:27:26 +00:00
Aaron Ballman
865fbcdd8d
[C++11] Replacing ObjCCategoryDecl iterators ivar_begin() and ivar_end() with iterator_range ivars(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203924
2014-03-14 13:13:27 +00:00
Aaron Ballman
a73c85738c
[C++11] Replacing ObjCCategoryDecl iterators protocol_loc_begin() and protocol_loc_end() with iterator_range protocol_locs(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203923
2014-03-14 13:03:32 +00:00
Aaron Ballman
19a417699f
[C++11] Replacing ObjCCategoryDecl iterators protocol_begin() and protocol_end() with iterator_range protocols(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203922
2014-03-14 12:55:57 +00:00
Ulrich Weigand
f445399870
[ppc64] Avoid copy relocs in named rodata sections
...
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
2014-03-14 12:45:22 +00:00
NAKAMURA Takumi
3554912129
clang/test/CodeGen/aarch64-varargs.c: Suppress this for -Asserts, for now.
...
llvm-svn: 203920
2014-03-14 12:42:41 +00:00
Aaron Ballman
a964ec1f14
[C++11] Replacing ObjCProtocolDecl iterators protocol_loc_begin() and protocol_loc_end() with iterator_range protocol_locs(). Updating all of the usages of the iterators with range-based for loops.
...
llvm-svn: 203919
2014-03-14 12:38:50 +00:00
Christian Pirker
a74c7914ad
AArch64_be specific clang target settings
...
llvm-svn: 203918
2014-03-14 12:15:45 +00:00
Christian Pirker
f5164229f3
AArch64_be varargs processing for ARM ABI
...
llvm-svn: 203917
2014-03-14 11:51:06 +00:00
Alexander Potapenko
b76ea32834
[ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=274
...
by ignoring globals from __TEXT,__cstring,cstring_literals during instrumenation.
Add a regression test.
llvm-svn: 203916
2014-03-14 10:41:49 +00:00
Alexey Samsonov
4d97203add
Use ctor instead of initializer list to appease Windows buildbots
...
llvm-svn: 203915
2014-03-14 10:37:36 +00:00
Alexey Samsonov
3e13ef5296
Use temporary instead of a local variable here
...
llvm-svn: 203914
2014-03-14 10:20:10 +00:00
Alexander Potapenko
9c97e0de24
[ASan] Remove the unneeded ASAN_RUNTIME_LDFLAGS.
...
llvm-svn: 203913
2014-03-14 10:16:59 +00:00
Benjamin Kramer
ca5ebafc9d
Remove unused typedef as pointed out by a GCC warning.
...
Yay for auto.
llvm-svn: 203912
2014-03-14 10:15:44 +00:00
Alexey Samsonov
7a3d806c31
[CMake] Add trailing newline to test source file to make sure -Wnewline-eof doesn't fire
...
llvm-svn: 203911
2014-03-14 09:22:29 +00:00
Kostya Serebryany
8ecd7a2171
[sanitizer] fully implement racy fast path in bitset-based deadlock detector
...
llvm-svn: 203910
2014-03-14 09:22:01 +00:00
Oliver Stannard
f010b9850c
Generalise assembly tests to not rely on anonymous symbol names
...
llvm-svn: 203909
2014-03-14 09:10:26 +00:00
Evgeniy Stepanov
49e2625144
AddressSanitizer instrumentation for MOV and MOVAPS.
...
This is an initial version of *Sanitizer instrumentation of assembly code.
Patch by Yuri Gorshenin.
llvm-svn: 203908
2014-03-14 08:58:04 +00:00
Stepan Dyatkovskiy
a53cf970a1
MergeFunctions, cmpType: fixed variable names from XXTy1 and XXTy2 to XXTyL and XXTyR.
...
llvm-svn: 203907
2014-03-14 08:48:52 +00:00
Bill Wendling
81eeb82a56
Use the correct symbol for a left bracket.
...
PR19089
llvm-svn: 203906
2014-03-14 08:39:06 +00:00
Stepan Dyatkovskiy
90c4436962
MergeFunctions, cmpType: Fixed comments wrapping.
...
llvm-svn: 203905
2014-03-14 08:17:19 +00:00
Kostya Serebryany
61a0f1c564
[sanitizer] partially implement racy fast path in bitset-based deadlock detector
...
llvm-svn: 203904
2014-03-14 08:06:15 +00:00
Rui Ueyama
39aa6af23f
Remove redundant "virtual" keyword.
...
llvm-svn: 203903
2014-03-14 07:10:43 +00:00
Kostya Serebryany
c067864b6f
[sanitizer] in bitset-based deadlock detector collect edge's stack trace when an edge is added to the graph (in following CLs these stack traces will be added to the report)
...
llvm-svn: 203902
2014-03-14 07:09:01 +00:00
Rui Ueyama
74af50134b
[PECOFF] Handle large objects having more than 32768 sections.
...
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
2014-03-14 07:04:01 +00:00
Simon Atanasyan
048baca082
[yaml2obj][ELF] Use range-based for loops.
...
llvm-svn: 203900
2014-03-14 06:53:30 +00:00
Simon Atanasyan
4d70d2a54a
[yaml2obj][ELF] Refer to a section in the error message by its name not
...
index.
llvm-svn: 203899
2014-03-14 06:53:25 +00:00
Simon Atanasyan
64dadc8981
[yaml2obj][ELF] Remove unused ELFState class field.
...
llvm-svn: 203898
2014-03-14 06:53:21 +00:00
Simon Atanasyan
a3130a4bad
[yaml2obj][ELF] Assign name (.shstrtab) to the section holds sections names.
...
llvm-svn: 203897
2014-03-14 06:53:16 +00:00
Simon Atanasyan
23ace1f0a1
[Mips] Add one more MIPS relocation type constant.
...
llvm-svn: 203896
2014-03-14 06:53:10 +00:00
Craig Topper
f85c6ce867
De-virtualize a method that doesn't override anything and has no overrides itself.
...
llvm-svn: 203895
2014-03-14 06:06:19 +00:00
Craig Topper
21beb40da5
Remove seemingly dead method. It was marked virtual but doesn't override anything and there don't seem to be any in tree callers.
...
llvm-svn: 203894
2014-03-14 06:04:02 +00:00
Craig Topper
b45acb8a16
[C++11] Add 'override' keyword to virtual methods that override their base class.
...
llvm-svn: 203893
2014-03-14 06:02:07 +00:00