| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 261955
|
|
|
|
|
|
| |
more cases in future.
llvm-svn: 261954
|
|
|
|
|
|
|
|
|
| |
"sif <target function>" - i.e. step-into-function
to allow you to step through a complex calling sequence into a particular function that may span multiple lines. Also some
test cases for this and the --step-target feature.
llvm-svn: 261953
|
|
|
|
|
|
| |
source/Plugins/ABI; other minor fixes.
llvm-svn: 261952
|
|
|
|
|
|
|
| |
This class is used only in this translation unit, so no need
to instantiate them explicitly.
llvm-svn: 261951
|
|
|
|
|
|
| |
the right thing and break.
llvm-svn: 261950
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This is the first simple attempt to reduce number of coverage-
instrumented blocks.
If a basic block dominates all its successors, then its coverage
information is useless to us. Ingore such blocks if
santizer-coverage-prune-tree option is set.
Differential Revision: http://reviews.llvm.org/D17626
llvm-svn: 261949
|
|
|
|
| |
llvm-svn: 261948
|
|
|
|
| |
llvm-svn: 261947
|
|
|
|
| |
llvm-svn: 261946
|
|
|
|
|
|
|
|
|
| |
Change "use of 'self' after it has been freed with call to [super dealloc]" to
"use of 'self' after it has been deallocated" and "use of instance variable
'_ivar' after the instance has been freed with call to [super dealloc]" to
"use of instance variable '_ivar' after 'self' has been deallocated".
llvm-svn: 261945
|
|
|
|
|
|
| |
It was using a temporary StringRef after its underlying storage was freed.
llvm-svn: 261944
|
|
|
|
| |
llvm-svn: 261943
|
|
|
|
|
|
|
|
| |
Inline-asm calls aren't annotated with funclet bundle operands because
they don't throw and cannot be inlined through. We shouldn't require
them to bear an funclet bundle operand.
llvm-svn: 261942
|
|
|
|
| |
llvm-svn: 261941
|
|
|
|
| |
llvm-svn: 261940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string initializations.
Reviewers: hokein, alexfh
Subscribers: cfe-commits
Patch by Shuai Wang!
Differential Revision: http://reviews.llvm.org/D17586
llvm-svn: 261939
|
|
|
|
|
|
| |
This is the usual way of instantiating a globally-visible section.
llvm-svn: 261938
|
|
|
|
|
|
| |
source/Commands/CommandObjectThread.cpp; other minor fixes.
llvm-svn: 261936
|
|
|
|
|
|
|
|
|
|
|
|
| |
Referring to 'self' after a call to [super dealloc] is a use-after-free in
Objective-C because NSObject's -dealloc frees the memory pointed to by self.
This patch extends the ObjCSuperDeallocChecker to catch this error.
rdar://problem/6953275
Differential Revision: http://reviews.llvm.org/D17528
llvm-svn: 261935
|
|
|
|
| |
llvm-svn: 261934
|
|
|
|
|
|
|
|
|
| |
When this code was first added it was compensating for the code deciding
to create plt entries for directly referenced functions being too aggressive.
That has since been fixed, so we don't need this anymore.
llvm-svn: 261933
|
|
|
|
| |
llvm-svn: 261932
|
|
|
|
|
|
| |
It doesn't make much sense to export these symbols.
llvm-svn: 261931
|
|
|
|
|
|
|
|
|
|
|
| |
R_MIPS_GOT16 relocation against local symbol requires index of a local
GOT entry which contains page address corresponds to sum of the symbol
address and addend. The addend in that case is calculated using addends
from the R_MIPS_GOT16 and paired R_MIPS_LO16 relocations.
Differential Revision: http://reviews.llvm.org/D17610
llvm-svn: 261930
|
|
|
|
|
|
|
|
| |
This reapplies "[analyzer] Make ObjCDeallocChecker path sensitive." (r261917)
with a fix for an error on some bots about specializing a template
from another namespace.
llvm-svn: 261929
|
|
|
|
| |
llvm-svn: 261928
|
|
|
|
| |
llvm-svn: 261927
|
|
|
|
| |
llvm-svn: 261926
|
|
|
|
| |
llvm-svn: 261925
|
|
|
|
| |
llvm-svn: 261924
|
|
|
|
| |
llvm-svn: 261923
|
|
|
|
| |
llvm-svn: 261922
|
|
|
|
|
|
| |
This reverts commit r261917. It broke the bots.
llvm-svn: 261921
|
|
|
|
|
|
| |
source/Commands/CommandObjectTarget.cpp; other minor fixes.
llvm-svn: 261920
|
|
|
|
| |
llvm-svn: 261919
|
|
|
|
| |
llvm-svn: 261918
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Convert the ObjCDeallocChecker to be path sensitive. The primary
motivation for this change is to prevent false positives when -dealloc calls
helper invalidation methods to release instance variables, but it additionally
improves precision when -dealloc contains control flow. It also reduces the need
for pattern matching. The check for missing -dealloc methods remains AST-based.
Part of rdar://problem/6927496
Differential Revision: http://reviews.llvm.org/D17511
llvm-svn: 261917
|
|
|
|
| |
llvm-svn: 261916
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces the new OpenMP 4.5 affinity api surrounding
OpenMP Places. There are six new entry points:
Typically called in serial region:
* omp_get_num_places - returns the number of places available to the execution
environment in the place list.
* omp_get_place_num_procs - returns the number of processors available to the
execution environment in the specified place.
* omp_get_place_proc_ids - returns the numerical identifiers of the processors
available to the execution environment in the specified place.
Typically called inside parallel region:
* omp_get_place_num - returns the place number of the place to which the
encountering thread is bound.
* omp_get_partition_num_places - returns the number of places in the place
partition of the innermost implicit task.
* omp_get_partition_place_nums - returns the list of place numbers
corresponding to the places in the place-var ICV of the innermost
implicit task.
Differential Revision: http://reviews.llvm.org/D17417
llvm-svn: 261915
|
|
|
|
| |
llvm-svn: 261914
|
|
|
|
| |
llvm-svn: 261913
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements the same algorithm as LLD/COFF's ICF. I'm
not going to repeat the same description about how it works, so you
want to read the comment in ICF.cpp in this patch if you want to know
the details. This algorithm should be more powerful than the ICF
algorithm implemented in GNU gold. It can even merge mutually-recursive
functions (which is harder than one might think).
ICF is a fairly effective size optimization. Here are some examples.
LLD: 37.14 MB -> 35.80 MB (-3.6%)
Clang: 59.41 MB -> 57.80 MB (-2.7%)
The lacking feature is "safe" version of ICF. This merges all
identical sections. That is not compatible with a C/C++ language
requirement that two distinct functions must have distinct addresses.
But as long as your program do not rely on the pointer equality
(which is in many cases true), your program should work with the
feature. LLD works fine for example.
GNU gold implements so-called "safe ICF" that identifies functions
that are safe to merge by heuristics -- for example, gold thinks
that constructors are safe to merge because there is no way to
take an address of a constructor in C++. We have a different idea
which David Majnemer suggested that we add NOPs at beginning of
merged functions so that two or more pointers can have distinct
values. We can do whichever we want, but this patch does not
include neither.
http://reviews.llvm.org/D17529
llvm-svn: 261912
|
|
|
|
|
|
| |
the headers.
llvm-svn: 261911
|
|
|
|
|
|
| |
Introduce move constructor and move assignment operator to PostDominatorTree.
llvm-svn: 261910
|
|
|
|
|
|
| |
InternalMmapVector::push_back().
llvm-svn: 261909
|
|
|
|
|
|
|
|
|
|
|
| |
The maximum task priority value is read from envirable: OMP_MAX_TASK_PRIORITY.
But as of now, nothing is done with it. We just handle the environment variable
and add the new api: omp_get_max_task_priority() which returns that value or
zero if it is not set.
Differential Revision: http://reviews.llvm.org/D17411
llvm-svn: 261908
|
|
|
|
|
|
| |
http://reviews.llvm.org/D17523
llvm-svn: 261907
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The monotonic/non-monotonic flags are sent to the runtime via the sched_type by
setting the 30th (non-monotonic) or 29th (monotonic) bit in the sched_type.
Macros are added to probe if monotonic or non-monotonic is specified
(SCHEDULE_HAS_[NON]MONOTONIC & SCHEDULE_HAS_NO_MODIFIERS)
and also to to get the base sched_type (SCHEDULE_WITHOUT_MODIFIERS)
Currently, nothing is done with the modifiers.
Also, this patch adds some comments on the use of the enumerations in at least
one place where it is subtle.
Differential Revision: http://reviews.llvm.org/D17406
llvm-svn: 261906
|
|
|
|
| |
llvm-svn: 261905
|