| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 152292
|
| |
|
|
|
|
|
|
| |
On darwin, if child process of process being debugged dies due to mach exception, the debugged process will die.
debugserver now only handles the mach exceptions for the task being debugged.
llvm-svn: 152291
|
| |
|
|
| |
llvm-svn: 152290
|
| |
|
|
| |
llvm-svn: 152289
|
| |
|
|
| |
llvm-svn: 152288
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
starting with an underscore is ill-formed.
Since this rule rejects programs that were using <inttypes.h>'s macros, recover
from this error by treating the ud-suffix as a separate preprocessing-token,
with a DefaultError ExtWarn. The approach of treating such cases as two tokens
is under discussion for standardization, but is in any case a conforming
extension and allows existing codebases to keep building while the committee
makes up its mind.
Reword the warning on the definition of literal operators not starting with
underscores (which are, strangely, legal) to more explicitly state that such
operators can't be called by literals. Remove the special-case diagnostic for
hexfloats, since it was both triggering in the wrong cases and incorrect.
llvm-svn: 152287
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This takes two important changes:
- Calling blocks is now supported. You need to
cast their return values, but that works fine.
- We now can correctly run JIT-compiled
expressions that use floating-point numbers.
Also, we have taken a fix that allows us to
ignore access control in Objective-C as in C++.
llvm-svn: 152286
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For example, this pattern
(select (setcc lhs, rhs, cc), true, 0)
is transformed to this one:
(select (setcc lhs, rhs, inverse(cc)), 0, true)
This enables MipsDAGToDAGISel::ReplaceUsesWithZeroReg (added in r152280) to
replace 0 with $zero.
llvm-svn: 152285
|
| |
|
|
|
|
| |
"false" for declarations that aren't members of classes. Fixes PR12106.
llvm-svn: 152284
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
analysis to be methods on the cost analysis's function info object
instead of the code metrics object. These really are just users of the
code metrics, they're building the information for the function's
analysis.
This is the first step of growing the amount of information we collect
about a function in order to cope with pair-wise simplifications due to
allocas.
llvm-svn: 152283
|
| |
|
|
| |
llvm-svn: 152282
|
| |
|
|
| |
llvm-svn: 152281
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For example, the first instruction in the code below can be eliminated if the
use of $vr0 is replaced with $zero:
addiu $vr0, $zero, 0
add $vr2, $vr1, $vr0
add $vr2, $vr1, $zero
llvm-svn: 152280
|
| |
|
|
|
|
| |
builds. Sheesh.
llvm-svn: 152279
|
| |
|
|
|
|
|
|
| |
Allow targets to provide their own schedulers (subclass of
ScheduleDAGInstrs) to the misched pass. Select schedulers using
-misched=...
llvm-svn: 152278
|
| |
|
|
| |
llvm-svn: 152277
|
| |
|
|
|
|
| |
to its own member function.
llvm-svn: 152276
|
| |
|
|
|
|
|
|
| |
an #include entry that did not resolve to header file.
Part of rdar://11007039
llvm-svn: 152275
|
| |
|
|
|
|
|
|
| |
paren/brace/bracket tracking (the Consume* functions already did it),
removing the use of ConsumeAnyToken(), and moving the hot paths inline
with the error paths out-of-line.
llvm-svn: 152274
|
| |
|
|
|
|
| |
block variable. // rdar://10817031
llvm-svn: 152273
|
| |
|
|
|
|
|
|
|
|
| |
The final graph contains a single root node, which is a parent of all externally available functions(and 'main'). As well as a list of Parentless/Unreachable functions, which are either truly unreachable or are unreachable due to our analyses imprecision.
The analyzer checkers debug.DumpCallGraph or debug.ViewGraph can be used to look at the produced graph.
Currently, the graph is not very precise, for example, it entirely skips edges resulted from ObjC method calls.
llvm-svn: 152272
|
| |
|
|
|
|
|
| |
an uninitialized block variable is being called inside the
block literal. // rdar://10817031
llvm-svn: 152271
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Basically the current design is:
-for an implementation method, show as overridden the interface method.
This is not useful, and is inconsistent with the C++ side
-for an interface method, show as overridden the protocols methods (this is desirable)
and the methods from the categories; methods from categories are not useful
since they are considered the same method (same USR).
-If there is a protocol method or category method reported, it does not check the
super class for overridden methods. This is really problematic since
overridden methods from super class is what we want to give back.
Change clang_getOverriddenCursors to show as overridden any method in the class's
base class, its protocols, or its categories' protocols, that has the same
selector and is of the same kind (class or instance).
If no such method exists, the search continues to the class's superclass,
its protocols, and its categories, and so on. A method from an Objective-C
implementation is considered to override the same methods as its
corresponding method in the interface.
rdar://10967206
llvm-svn: 152270
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add first linker pass (StubsPass) which looks for calls to shared library
symbols and replaces them with calls to a StubAtom. On ELF system, a "stub"
is a PLT entry. Added a simple test case.
Pass a Platform object to YAML reader and writer for converting fixup kinds
between names and values.
Change output of Resolver to be a File object instead of a vector of Atoms.
Thus, passes operate on a File instead of just Atoms.
Rework how to walk through a File's Atoms. Now iterator based instead of
a method that visits each atom.
llvm-svn: 152269
|
| |
|
|
|
|
|
|
|
| |
The ARM code generator makes aggressive assumptions about the encodings
being selected for branches which MCRelaxAll invalidates.
rdar://11006355
llvm-svn: 152268
|
| |
|
|
|
|
| |
SBLaunchInfo and SBAttachInfo to avoid link warnings.
llvm-svn: 152267
|
| |
|
|
|
|
|
|
|
|
| |
PR12196: The module hash strings are not actually hashing the compiler version
string; the entire version string is being included in the hash. Depending on
the module cache directory name, that can lead to failures where the path
names become too long. As a temporary workaround, just remove the version
string from the hash.
llvm-svn: 152266
|
| |
|
|
|
|
| |
calculated on the fly.
llvm-svn: 152265
|
| |
|
|
|
|
|
|
|
|
|
| |
code that will be relocated into another memory space.
Now when relocations are resolved, the address of
the relocation in the host memory (where the JIT is)
is passed separately from the address that the
relocation will be at in the target memory (where
the code will run).
llvm-svn: 152264
|
| |
|
|
| |
llvm-svn: 152263
|
| |
|
|
| |
llvm-svn: 152262
|
| |
|
|
|
|
| |
implement their own MachineScheduler.
llvm-svn: 152261
|
| |
|
|
| |
llvm-svn: 152260
|
| |
|
|
| |
llvm-svn: 152259
|
| |
|
|
|
|
|
|
| |
ScheduleDAGInstrs will be the main interface for MI-level
schedulers. Make sure it's readable: one page of protected fields, one
page of public methids.
llvm-svn: 152258
|
| |
|
|
| |
llvm-svn: 152257
|
| |
|
|
|
|
| |
ScheduleDAGInstrs knows nothing about how instructions will be moved or inserted.
llvm-svn: 152256
|
| |
|
|
|
|
|
| |
We had half the API with one convention, half with another. Now was a
good time to clean it up.
llvm-svn: 152255
|
| |
|
|
| |
llvm-svn: 152254
|
| |
|
|
|
|
|
|
|
|
| |
Added a new makefile target to help us with Apple builds where the installhdrs
will copy the headers for the shared library. Prior to this fix, the install
headers directory would contain the unix style paths to all public header
files ("#include lldb/API/SBDefines.h") instead of the fixed up framework
header paths ("#include <LLDB/SBDefines.h>").
llvm-svn: 152253
|
| |
|
|
|
|
|
| |
This fixes a build failure in webkit. Copying all elements shouldn't be
necessary, I'll look out for a better fix soon.
llvm-svn: 152252
|
| |
|
|
|
|
|
|
| |
treat Objective-C ivar symbols as their own kind
of symbol rather than lumping them in with generic
"runtime" symbols.
llvm-svn: 152251
|
| |
|
|
|
|
| |
or QueueName if the ThreadSpec doesn't specify them.
llvm-svn: 152245
|
| |
|
|
|
|
|
|
|
|
|
| |
This fix really needed to happen as a previous fix I had submitted for
calculating symbol sizes made many symbols appear to have zero size since
the function that was calculating the symbol size was calling another function
that would cause the calculation to happen again. This resulted in some symbols
having zero size when they shouldn't. This could then cause infinite stack
traces and many other side affects.
llvm-svn: 152244
|
| |
|
|
|
|
|
| |
condition flags to CPSR. This allows us to simplify SelectCmp.
Patch by Zonr Chang <zonr.xchg@gmail.com>.
llvm-svn: 152243
|
| |
|
|
| |
llvm-svn: 152242
|
| |
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=12185.
llvm-svn: 152240
|
| |
|
|
| |
llvm-svn: 152239
|
| |
|
|
| |
llvm-svn: 152238
|
| |
|
|
| |
llvm-svn: 152237
|