| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
have a circular dependency.
llvm-svn: 222458
|
|
|
|
| |
llvm-svn: 222457
|
|
|
|
|
|
|
|
|
|
| |
values. Increase the number of bits for SyntaxUsed. Decrease the number of expression arguments allowed by a single bit so that the bit fields continue to add up to 32-bits evenly.
There is no test for this fix because I could find no reasonable way to trigger a visible failure from it.
Thanks to Doug Gregor for spotting this!
llvm-svn: 222456
|
|
|
|
|
|
| |
Patch by Jean-Daniel Dupas
llvm-svn: 222455
|
|
|
|
|
|
| |
now that the legacy JIT has been removed.
llvm-svn: 222453
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Export table entries need to be sorted in ASCII-betical order,
so that the loader can find an entry for a function by binary search.
We sorted the entries by its mangled names. That can be different
from their exported names. As a result, LLD produces incorrect export
table, from which the loader complains that a function that actually
exists in a DLL cannot be found.
This patch fixes that issue.
llvm-svn: 222452
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently LoopUnroll generates a prologue loop before the main loop
body to execute first N%UnrollFactor iterations. Also, this loop is
used if trip-count can overflow - it's determined by a runtime check.
However, we've been mistakenly optimizing this loop to a linear code for
UnrollFactor = 2, not taking into account that it also serves as a safe
version of the loop if its trip-count overflows.
llvm-svn: 222451
|
|
|
|
| |
llvm-svn: 222449
|
|
|
|
|
|
|
|
|
| |
If the template specialization for externally managed sets in
PostOrderIterator call too far out of sync with each other, this unit
test will fail to build. This is especially useful for developers who
may not build Clang (the only in-tree user) every time.
llvm-svn: 222447
|
|
|
|
|
|
|
|
|
| |
po_iterator_storage's insertEdge was updated to reflect the API
changes from many of our insert methods in r222334, however the
template specialization for external storage was not updated. This
updates the specialization.
llvm-svn: 222446
|
|
|
|
|
|
|
|
| |
r222334 updates LLVM data structure's insert API to return a
pair. This change updates PostOrderCFGView accordingly, so that it can
be used interchangably with other sets.
llvm-svn: 222445
|
|
|
|
|
|
|
| |
This option sets language mode for the compilation of a source file to be OpenCL v2.0.
Example: clang -cc1 -cl-std=CL2.0 myfile.cl
llvm-svn: 222444
|
|
|
|
|
|
| |
llvm.org/pr21620
llvm-svn: 222442
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: In noack mode, these checksums are ignored by llgs, but some implementations need them still. Specify these checksums to ease integration.
Test Plan: Run the tests before and after the change and make sure nothing breaks.
Reviewers: clayborg, tfiala
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D6343
llvm-svn: 222441
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test Plan: None.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D6342
llvm-svn: 222440
|
|
|
|
|
|
|
| |
Windows itanium targets the MSVCRT, and the stack probe symbol is provided by
MSVCRT. This corrects the emission of stack probes on i686-windows-itanium.
llvm-svn: 222439
|
|
|
|
| |
llvm-svn: 222438
|
|
|
|
|
|
|
|
| |
After LLVM r222434, the Variables field of DISubprograms for forward
declarations will always be null. No need to keep code around to
delete them.
llvm-svn: 222437
|
|
|
|
|
|
|
|
|
| |
As dump() methods should be. To allow that, do not store the DWARFFormValue
objects used for the dump in the header data.
Per Alexey's suggestion!
llvm-svn: 222436
|
|
|
|
| |
llvm-svn: 222435
|
|
|
|
|
|
|
|
| |
These fields would need to be explicitly deleted before we RAUW the temporary
node anyway (this was done in cfe commit r222373). Instead, do not create
these useless nodes in the first place.
llvm-svn: 222434
|
|
|
|
|
|
|
|
|
|
|
| |
This is a followup to r222373. A better solution to the problem solved
there is to not create the leaked nodes at all (we know that they will
never be used for forward declared functions anyway). To avoid bot
breakage in the interval between the cfe and llvm commits, add a check
that the nMDNode is not null before deleting it. This code can completely
go away after the LLVM part is in.
llvm-svn: 222433
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Replace variadic operator function pointer with an enum value.
Hiding the implementation of the variadic matcher will allow to specialize them for the operation performed.
In particular, it will allow for a more efficient allOf() matcher.
Reviewers: klimek
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D6293
llvm-svn: 222432
|
|
|
|
|
|
| |
This value is used in cpplint, so we'd better be consistent.
llvm-svn: 222431
|
|
|
|
| |
llvm-svn: 222430
|
|
|
|
| |
llvm-svn: 222429
|
|
|
|
|
|
| |
fixing them introduced bugs
llvm-svn: 222428
|
|
|
|
|
|
|
| |
This re-applies r222363 reverted in r222390 after compilation errors in our
out-of-tree clang-tidy tests were fixed.
llvm-svn: 222427
|
|
|
|
| |
llvm-svn: 222426
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6306
llvm-svn: 222425
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doesn't seem to be common practice in Java.
Before:
return aaaaaaaaaaaaaaaaaaa
&& bbbbbbbbbbbbbbbbbbb
&& ccccccccccccccccccc;
After:
return aaaaaaaaaaaaaaaaaaa
&& bbbbbbbbbbbbbbbbbbb
&& ccccccccccccccccccc;
Patch by Harry Terkelsen.
llvm-svn: 222424
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
Foo.bar()
.<X>
baz();
After:
Foo.bar()
.<X>baz();
Patch by Harry Terkelsen.
llvm-svn: 222423
|
|
|
|
|
|
|
|
| |
- Use LLVM_DELETED_FUNCTION.
- Don't use member initializers.
- Don't use initializer list.
llvm-svn: 222422
|
|
|
|
|
|
| |
Code seems cleaner and easier to understand this way
llvm-svn: 222416
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 222415
|
|
|
|
|
|
| |
code R_ARM_PLT32
llvm-svn: 222414
|
|
|
|
|
|
|
| |
bad-relocs.obj.coff-i386 has a relocation whose symbol index is outside
the symbol table.
llvm-svn: 222413
|
|
|
|
| |
llvm-svn: 222412
|
|
|
|
| |
llvm-svn: 222411
|
|
|
|
|
|
| |
output.
llvm-svn: 222410
|
|
|
|
|
|
|
|
| |
For each "omp flush" directive a call to "void kmpc_flush(ident_t *, ...)" function is generated.
Directive "omp flush" may have an associated list of variables to flush, but currently runtime function ignores them. So the patch generates just "call kmpc_flush(ident_t *<loc>, i32 0)".
Differential Revision: http://reviews.llvm.org/D6292
llvm-svn: 222409
|
|
|
|
| |
llvm-svn: 222408
|
|
|
|
|
|
|
|
|
|
|
| |
In order to keep SVNVersion.inc from being regenerated on every build, we need
to specify as a dependency a file that only changes when the VC state updates.
I previously just had .svn/entries, but that's only used by Subversion 1.6.
1.7 uses .svn/wc.db instead; prefer that if it's present.
(Thanks, Nico!)
llvm-svn: 222407
|
|
|
|
| |
llvm-svn: 222406
|
|
|
|
| |
llvm-svn: 222405
|
|
|
|
|
|
| |
Patch by Pierre Gousseau! Test cases altered significantly by me.
llvm-svn: 222404
|
|
|
|
| |
llvm-svn: 222403
|
|
|
|
|
|
| |
objects. This is consistent with GCC's behavior. Patch by Tomasz Miąsko!
llvm-svn: 222402
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"global-init", "global-init-src" and "global-init-type" were originally
used to blacklist entities in ASan init-order checker. However, they
were never documented, and later were replaced by "=init" category.
Old blacklist entries should be converted as follows:
* global-init:foo -> global:foo=init
* global-init-src:bar -> src:bar=init
* global-init-type:baz -> type:baz=init
llvm-svn: 222401
|
|
|
|
| |
llvm-svn: 222400
|