| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 216221
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This is a first small step towards passing generic "Expr" instead of
ArgBeg/ArgEnd pair into EmitCallArgs() family of methods. Having "Expr" will
allow us to get the corresponding FunctionDecl and its ParmVarDecls,
thus allowing us to alter CodeGen depending on the function/parameter
attributes.
No functionality change.
Test Plan: regression test suite
Reviewers: rnk
Reviewed By: rnk
Subscribers: aemerson, cfe-commits
Differential Revision: http://reviews.llvm.org/D4915
llvm-svn: 216214
|
| |
|
|
|
|
|
|
|
|
| |
The profile data format was recently updated and the new indexing api
requires the code coverage tool to know the function's hash as well
as the function's name to get the execution counts for a function.
Differential Revision: http://reviews.llvm.org/D4995
llvm-svn: 216208
|
| |
|
|
| |
llvm-svn: 216198
|
| |
|
|
|
|
|
| |
and checking on availability of method declaration
instead of crashing. // rdar://18059669
llvm-svn: 216191
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 216183
|
| |
|
|
|
|
|
| |
This fixes a crash in the OCL_ImgProc/Canny OpenCV test.
NOTE: This is a candidate for the 3.5 branch.
llvm-svn: 216181
|
| |
|
|
| |
llvm-svn: 216180
|
| |
|
|
|
|
| |
This is currently a no-op, which is allowed by the OpenCL specification.
llvm-svn: 216179
|
| |
|
|
|
|
|
| |
The call will never go to a more derived class, but that's intentional in those
cases.
llvm-svn: 216167
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enum is generated more than once.
When generating records/unions, the same enum type may be generated more
than once (with different names). In these cases, the name of the enum
values are not sufficiently unique to prevent multiple declarations. E.g:
typedef enum T3 { enum0val0 } T3;
typedef T3 T2[3];
typedef enum T4 { enum0val0 } T4;
typedef union T1 { T2 field0; T4 field1; char field2; } T1;
Added a unique suffix to enum values so that multiple identical enum types do
not use the same enum value names.
One example of this bug is produced by:
ABITestGen.py --no-unsigned --no-vector --no-complex --no-bool \
--max-args 0 --max-record-depth 1 -o inputs/test.9921.a.c \
-T inputs/test.9921.b.c -D inputs/test.9921.driver.c \
--min=9921 --count=1
llvm-svn: 216166
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(PR20163)
Normally we mark all members of exported classes referenced to get them emitted.
However, MSVC doesn't do this for class templates that are implicitly specialized or
just have an explicit instantiation declaration. For such specializations, the members
are emitted when referenced.
The exception is the case when the dllexport attribute is propagated from a base class
to a base class template that doesn't have an explicit attribute: in this case all
methods of the base class template do get instantiated.
llvm-svn: 216145
|
| |
|
|
|
|
|
| |
Use the derived class in the macro instead, to make it unambigous where
the template is being instantiated.
llvm-svn: 216142
|
| |
|
|
|
|
|
| |
Also, make it slightly clearer what's being tested by only differentiating integer
literals based on their suffix, rather than using a very large constant.
llvm-svn: 216133
|
| |
|
|
|
|
|
|
|
|
| |
Filecheck".
Change the lit RUN commands for 3 tests to use the following pattern
"FileCheck -input-file ..." instead of "cat ... | FileCheck ..." as
suggested by Justin Bogner.
llvm-svn: 216085
|
| |
|
|
| |
llvm-svn: 216082
|
| |
|
|
| |
llvm-svn: 216081
|
| |
|
|
|
|
|
|
| |
an integer.
Patch by Daniel Fahlgren.
llvm-svn: 216079
|
| |
|
|
|
|
| |
Patch by Daniel Fahlgren.
llvm-svn: 216078
|
| |
|
|
|
|
|
|
| |
different widths.
PR20659. Patch by Anders Rönnholm.
llvm-svn: 216076
|
| |
|
|
|
|
|
|
| |
string literals.
PR20693. Patch by Anders Rönnholm.
llvm-svn: 216075
|
| |
|
|
|
|
| |
class method to an object receiver. rdar://16263395
llvm-svn: 216038
|
| |
|
|
| |
llvm-svn: 216029
|
| |
|
|
|
|
|
| |
Add the llvm-lit RUN commands for the two coverage mapping tests
that filecheck a temporary file.
llvm-svn: 216020
|
| |
|
|
|
|
|
|
|
|
| |
This patch adds the tests for the coverage mapping generation.
Most of the tests check the mapping regions produced by
the generator, and one checks the llvm IR.
Differential Revision: http://reviews.llvm.org/D4847
llvm-svn: 215995
|
| |
|
|
|
|
|
| |
ext_vector_type's 'hi/lo' components when
used as lvalue. rdar://18031917 pr20697
llvm-svn: 215991
|
| |
|
|
|
|
| |
Changes diagnostic options, language standard options, diagnostic identifiers, diagnostic wording to use c++14 instead of c++1y. It also modifies related test cases to use the updated diagnostic wording.
llvm-svn: 215982
|
| |
|
|
| |
llvm-svn: 215980
|
| |
|
|
|
|
|
| |
Returning a std::unique_ptr is more constrained. Thanks to David Blaikie for the
suggestion.
llvm-svn: 215979
|
| |
|
|
|
|
| |
functional changes (having common superclass is convenient for future loop directives CodeGen implementation)
llvm-svn: 215975
|
| |
|
|
|
|
|
|
| |
MSVC "14" CTP 3 has fixed it's mangling for alias templates when used as
template-template arguments; update clang to be compatible with this
mangling.
llvm-svn: 215972
|
| |
|
|
| |
llvm-svn: 215968
|
| |
|
|
|
|
|
| |
One more, and the number of flags without a dedicated flag fits in two decimal
digits :-)
llvm-svn: 215946
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Always put static sanitizer runtimes to the front of the linker
invocation line. This was already done for all sanitizers except UBSan:
in case user provides static libstdc++ we need to make sure that new/delete
operator definitions are picked from sanitizer runtimes instead of libstdc++.
We have to put UBSan runtime first for similar reasons: it depends on some
libstdc++ parts (e.g. __dynamic_cast function), and has to go first in
link line to ensure these functions will be picked up from libstdc++.
2. Put sanitizer libraries system dependencies (-ldl, -lpthread etc.) right
after sanitizer runtimes. This will ensure these libraries participate in
the link even if user provided -Wl,-as-needed flag. This should fix PR15823.
3. In case we link in several sanitizer runtimes (e.g. "ubsan", "ubsan_cxx"
and "san"), add system dependencies (-ldl, -lpthread, ...) only once.
llvm-svn: 215940
|
| |
|
|
|
|
|
|
|
| |
Predefined decls like 'Protocol' in objc are not loaded from AST files,
so we cannot rely on loading the canonical decl to complete the redecl
chain for redeclarations of these decls. The broken redecl chain was
non-circular, so looping over redecls() would hang.
llvm-svn: 215929
|
| |
|
|
| |
llvm-svn: 215928
|
| |
|
|
| |
llvm-svn: 215927
|
| |
|
|
| |
llvm-svn: 215926
|
| |
|
|
| |
llvm-svn: 215925
|
| |
|
|
| |
llvm-svn: 215900
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Adding remaining 2 cases handling:
* from x32 to 32 via -m32
* from x32 to 64 via -m64
Test Plan: linux-ld test updated
Reviewers: chandlerc, atanasyan
Subscribers: cfe-commits, zinovy.nis
Differential Revision: http://reviews.llvm.org/D4930
llvm-svn: 215899
|
| |
|
|
| |
llvm-svn: 215898
|
| |
|
|
|
|
| |
silent coverity warning CID 1231654
llvm-svn: 215897
|
| |
|
|
|
|
|
|
| |
UniqueID(uint64_t Device, uint64_t File)
Fixes CID 1095247
llvm-svn: 215896
|
| |
|
|
|
|
| |
needing to mention the size.
llvm-svn: 215869
|
| |
|
|
|
|
| |
Thanks to David Blaikie for the suggestion.
llvm-svn: 215866
|
| |
|
|
|
|
| |
Thanks to David Blaikie for the suggestion.
llvm-svn: 215865
|
| |
|
|
| |
llvm-svn: 215864
|
| |
|
|
| |
llvm-svn: 215856
|
| |
|
|
| |
llvm-svn: 215853
|