| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
- Remove trailing spaces.
llvm-svn: 146854
|
| |
|
|
|
|
| |
unique_ptr<T[]>
llvm-svn: 146853
|
| |
|
|
| |
llvm-svn: 146852
|
| |
|
|
|
|
| |
attribute themselve.
llvm-svn: 146851
|
| |
|
|
|
|
|
|
| |
function.
Some compilers were complaining about passing StringRef to it.
llvm-svn: 146850
|
| |
|
|
|
|
|
|
|
|
|
| |
And fix the double-[]. It was including the [] as part of
the project name somehow, resulting in PACKAGE_TARNAME "-llvm-"
and a strange docdir default:
./configure --help | grep docdir
--docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
llvm-svn: 146849
|
| |
|
|
| |
llvm-svn: 146848
|
| |
|
|
| |
llvm-svn: 146847
|
| |
|
|
| |
llvm-svn: 146846
|
| |
|
|
|
|
| |
Show how to actually use the arguments it has.
llvm-svn: 146845
|
| |
|
|
| |
llvm-svn: 146844
|
| |
|
|
|
|
|
|
|
|
| |
(truncated)
floating literal value does not fit into the destination type. Such casts have
undefined behavior at translation time; treating them as non-ICE matches the
behavior of modern gcc versions.
llvm-svn: 146842
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chains. The previous implementation relied heavily on the declaration
chain being stored as a (circular) linked list on disk, as it is in
memory. However, when deserializing from multiple modules, the
different chains could get mixed up, leading to broken declaration chains.
The new solution keeps track of the first and last declarations in the
chain for each module file. When we load a declaration, we search all
of the module files for redeclarations of that declaration, then
splice together all of the lists into a coherent whole (along with any
redeclarations that were actually parsed).
As a drive-by fix, (de-)serialize the redeclaration chains of
TypedefNameDecls, which had somehow gotten missed previously. Add a
test of this serialization.
This new scheme creates a redeclaration table that is fairly large in
the PCH file (on the order of 400k for Cocoa.h's 12MB PCH file). The
table is mmap'd in and searched via a binary search, but it's still
quite large. A future tweak will eliminate entries for declarations
that have no redeclarations anywhere, and should
drastically reduce the size of this table.
llvm-svn: 146841
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
especially nice as the Windows toolchain needs the windows header files,
and has lots of platform specific hooks in it.
To facilitate the split, hoist a bunch of file-level static helpers into
class-level static helpers. Spiff up their doxygen comments while there
as they're now more likely to be looked up via docs.
Hopefully, this will be followed by further breaking apart of the
toolchain definitions. Most of the large and complex ones should likely
live on their own. I'm looking at you Darwin. ;]
llvm-svn: 146840
|
| |
|
|
|
|
| |
have this warning.
llvm-svn: 146839
|
| |
|
|
|
|
|
|
|
|
|
| |
internal nightly testers. Original commit message:
By popular demand, link up types by name if they are isomorphic and one is an
autorenamed version of the other. This makes the IR easier to read, because
we don't end up with random renamed versions of the types after LTO'ing a large
app.
llvm-svn: 146838
|
| |
|
|
|
|
| |
flags on MIPS paltforms.
llvm-svn: 146837
|
| |
|
|
| |
llvm-svn: 146836
|
| |
|
|
|
|
| |
type.
llvm-svn: 146835
|
| |
|
|
|
|
| |
Hope I did this correctly :)
llvm-svn: 146834
|
| |
|
|
| |
llvm-svn: 146833
|
| |
|
|
| |
llvm-svn: 146831
|
| |
|
|
|
|
|
|
|
| |
It had been causing test "Misc/diag-verify.cpp" failure on ms cl.exe. The emission was ordered unexpectedly as below;
First) error: 'error' diagnostics seen but not expected:
Second) error: 'error' diagnostics expected but not seen:
llvm-svn: 146830
|
| |
|
|
| |
llvm-svn: 146829
|
| |
|
|
| |
llvm-svn: 146828
|
| |
|
|
|
|
|
|
|
| |
make VariadicFunction actually be trivial. Do so, and also make it look
more like your standard trivial functor by making it a struct with no
access specifiers. The unit test is updated to initialize its functors
properly.
llvm-svn: 146827
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 146825
|
| |
|
|
|
|
|
|
|
| |
over them because more interesting decls can be added during body
deserialization.
Should fix msvc build tests.
llvm-svn: 146824
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
depending on previous branch on same comparison operands.
For example,
if (a == b) {
if (a > b) // this is false
Fixes some of the issues on <rdar://problem/10554090>
llvm-svn: 146822
|
| |
|
|
| |
llvm-svn: 146821
|
| |
|
|
|
|
|
|
|
|
| |
gives us comparative diagnostics
to TextDiagnosticPrinter.
This certainly can be cleaned up a bit.
llvm-svn: 146820
|
| |
|
|
|
|
|
|
|
|
|
|
| |
handles
the policy of how diagnostics are lowered/rendered, while TextDiagnostic handles
the actual pretty-printing.
This is a first part of reworking SerializedDiagnosticPrinter to use the same
inclusion-stack/macro-expansion logic as TextDiagnostic.
llvm-svn: 146819
|
| |
|
|
|
|
|
|
| |
macro expansion.
rdar://10588825
llvm-svn: 146818
|
| |
|
|
|
|
|
|
|
| |
including deserializing their bodies, so that any other declarations that
get referenced in the body will be fully deserialized by the time we pass them to the consumer.
Could not reduce to a test case unfortunately. rdar://10587158.
llvm-svn: 146817
|
| |
|
|
|
|
|
|
| |
when we formed an invalid redeclaration chain due to a bug.
Thanks to Doug for the hint!
llvm-svn: 146816
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stopping at '@' was originally intended to avoid skipping an '@' at the @interface context
when doing parser recovery, but we should not stop at all '@' tokens because they may be part
of expressions (e.g. in @"string", @selector(), etc.), so in most cases we will want to skip them.
This commit caused 'test/Parser/method-def-in-class.m' to fail for the cases where we tried to
recover from unmatched angle bracket but IMO it is not a big deal to not have good recovery
from such broken code and the way we did recovery would not always work anyway (e.g. if there was '@'
in an expression).
The case that rdar://7029784 is about still passes.
llvm-svn: 146815
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tokens,
because the memory associated with them is going to get released.
We also don't want them to affect later parsing.
(We do the same for C++ inline methods.)
The underlying cause for the leftover tokens is going to be addressed in the
next commit.
Couldn't get a test case for the crash though. rdar://10583033.
llvm-svn: 146814
|
| |
|
|
| |
llvm-svn: 146813
|
| |
|
|
|
|
| |
SBThread::GetStopReasonDataCount/GetStopReasonDataAtIndex() need to handle eStopReasonWatchpoint.
llvm-svn: 146812
|
| |
|
|
|
|
|
| |
build script that applies any local patches to
LLVM/Clang.
llvm-svn: 146811
|
| |
|
|
|
|
|
| |
markings. Fix avxintrin.h to take them into account.
Part of rdar://10595450
llvm-svn: 146810
|
| |
|
|
|
|
| |
and debugserver-156.
llvm-svn: 146808
|
| |
|
|
|
|
| |
first place. The permutevar_* (note the *var*) intrinsics use ymm/mem.
llvm-svn: 146807
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
print it
as part of the thread format output.
Currently this is only done for the ThreadPlanStepOut.
Add a convenience API ABI::GetReturnValueObject.
Change the ValueObject::EvaluationPoint to BE an ExecutionContextScope, rather than
trying to hand out one of its subsidiary object's pointers. That way this will always
be good.
llvm-svn: 146806
|
| |
|
|
| |
llvm-svn: 146805
|
| |
|
|
|
|
|
| |
avxintrin.h to take them into account.
Part of rdar://10595450
llvm-svn: 146804
|
| |
|
|
|
|
| |
This will be used by SimplifyCfg in a later commit.
llvm-svn: 146803
|
| |
|
|
|
|
| |
which have the dwarf DIE tag (DW_TAG_XXX enum) and TypeFlags for each type.
llvm-svn: 146802
|
| |
|
|
|
|
| |
asm parsing and testcase.
llvm-svn: 146801
|
| |
|
|
| |
llvm-svn: 146800
|