| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
No tests, but this allows the optimization of removing dead constraints.
We can then add tests that we don't do this prematurely.
<rdar://problem/12333297>
Note: the added FIXME to investigate SymbolRegionValue liveness is
tracked by <rdar://problem/12368183>. This patch does not change the
existing behavior.
llvm-svn: 164621
|
|
|
|
|
|
|
|
|
| |
top-level frameworks can actually be symlinked over to embedded
frameworks, and accessed via the top-level framework's headers. In
this case, we need to determine that the framework was *actually* an
embedded framework, so we can load the appropriate top-level module.
llvm-svn: 164620
|
|
|
|
| |
llvm-svn: 164619
|
|
|
|
|
|
|
|
|
|
|
|
| |
of this is derived from the Mach-O writer. Reviewed by: Nick Kledzik.
* Adds loop to SectionChunk::write traverse references calling the
writer's fixup handler, applyFixup.
* Adds method, ELFWriter::buildAtomToAddressMap to that creates a
mapping from an atom to its runtime address.
* Adds method, ELFWriter::addressOfAtom to return the runtime address
of the atom.
llvm-svn: 164618
|
|
|
|
|
|
| |
doesn't transform the trivially unsafe case.
llvm-svn: 164617
|
|
|
|
|
|
| |
- Turn on atomic6432.ll and add specific test case as well
llvm-svn: 164616
|
|
|
|
|
|
|
|
|
|
|
| |
When a BL/BLX references a symbol in the same translation unit that is
out of range, use an external relocation. The linker will use this to
generate a branch island rather than a direct reference, allowing the
relocation to resolve correctly.
rdar://12359919
llvm-svn: 164615
|
|
|
|
|
|
| |
and u/srem.
llvm-svn: 164614
|
|
|
|
| |
llvm-svn: 164611
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
latest macro definition. Needs more work.
Summary: Passes all tests (+ the new one with code completion), but needs a thorough review in part related to modules.
Reviewers: doug.gregor
Reviewed By: alexfh
CC: cfe-commits, rsmith
Differential Revision: http://llvm-reviews.chandlerc.com/D41
llvm-svn: 164610
|
|
|
|
|
|
|
|
| |
If an MS-style inline asm is matched to multiple instructions, e.g., with a
a WAIT-prefix, then we need to examine the operands of the last instruction
instruction, not the prefix instruction.
llvm-svn: 164608
|
|
|
|
| |
llvm-svn: 164607
|
|
|
|
|
|
|
|
|
|
| |
specific module (__building_module(modulename)) and to get the name of
the current module as an identifier (__MODULE__).
Used to help headers behave differently when they're being included as
part of building a module. Oh, the irony.
llvm-svn: 164605
|
|
|
|
| |
llvm-svn: 164601
|
|
|
|
| |
llvm-svn: 164600
|
|
|
|
|
|
|
|
|
|
|
| |
Currently Sema/wchar.c fails because WCHAR_T_TYPE is defined as int,
however on ARM wchar_t is unsigned int.
This patch changes that, so this test passes for ARM.
Patch by Joey Gouly!
llvm-svn: 164598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
be sure to delete the complete object pointer, not the original
pointer. This is necessary if the base being deleted is at a
non-zero offset in the complete object. This is only required
for objects with virtual destructors because deleting an object
via a base-class subobject when the base does not have a virtual
destructor is undefined behavior.
Noticed while reviewing the last four years of cxx-abi-dev
activity.
llvm-svn: 164597
|
|
|
|
|
|
|
|
| |
to chains or cycles between PHIs and/or selects. Also add a couple of
really nice test cases reduced from Kostya's reports in PR13905 and
PR13906. Both are fixed by this patch.
llvm-svn: 164596
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously it was only be able to detect problems if the pointer was a numerical
value (eg inttoptr i32 1 to i32*), but not if it was an alloca or globa. The
reason was the use of ComputeMaskedBits: imagine you have "alloca i8, align 2",
and ask ComputeMaskedBits what it knows about the bits of the alloca pointer.
It can tell you that the bottom bit is known zero (due to align 2) but it can't
tell you that bit 1 is known one. That's because the address could be an even
multiple of 2 rather than an odd multiple, eg it might be a multiple of 4. Thus
trying to use KnownOne is ineffective in the case of an alloca as it will never
have any bits set. Instead look explicitly for constant offsets from allocas
and globals.
llvm-svn: 164595
|
|
|
|
| |
llvm-svn: 164594
|
|
|
|
| |
llvm-svn: 164593
|
|
|
|
| |
llvm-svn: 164592
|
|
|
|
|
|
| |
Patch by Andy Gibbs!
llvm-svn: 164591
|
|
|
|
|
|
| |
Patch by Andy Gibbs!
llvm-svn: 164590
|
|
|
|
|
|
|
|
|
|
|
|
| |
into the enclosing scope; this is a more accurate model but is
(I believe) unnecessary in my test case due to other flaws.
However, one of those flaws is now intentional: blocks which
appear in return statements can be trivially observed to not
extend in lifetime past the return, and so we can allow a jump
past them. Do the necessary magic in IR-generation to make
this work.
llvm-svn: 164589
|
|
|
|
|
|
| |
caller returns x86_fp80 via st0. rdar://12229511
llvm-svn: 164588
|
|
|
|
| |
llvm-svn: 164587
|
|
|
|
|
|
|
|
|
|
| |
function being instantiated. An error recovery codepath was recursively
performing name lookup (and triggering an unbounded stack of template
instantiations which blew out the stack before hitting the depth limit).
Patch by Wei Pan!
llvm-svn: 164586
|
|
|
|
|
|
|
|
|
|
| |
David (I think), but I would appreciate folks verifying that this fixes
the big crasher.
I'm still working on a reduced test case, but because this was causing
problems I wanted to get the fix checked in quickly.
llvm-svn: 164585
|
|
|
|
|
|
| |
More KDP debugging process. We can not set breakpoints, hit them, resume, step and detach while running.
llvm-svn: 164584
|
|
|
|
|
|
| |
it's not a dead store if that pointer is used. Whoops!
llvm-svn: 164583
|
|
|
|
|
|
| |
ensure that the code was generated properly. Future work would be finding some way to test the actual result that would be computed.
llvm-svn: 164582
|
|
|
|
| |
llvm-svn: 164580
|
|
|
|
|
|
| |
dispatch.
llvm-svn: 164579
|
|
|
|
|
|
| |
instantiations if we encountered errors parsing some of the initializers.
llvm-svn: 164578
|
|
|
|
|
|
| |
rdar://9795790
llvm-svn: 164577
|
|
|
|
|
|
|
| |
declaration to use the same form as in the rest of the file. No functionality
change.
llvm-svn: 164576
|
|
|
|
|
|
| |
configuration that would take advantage of this. But it has popped up in the wild and does no harm to support it.
llvm-svn: 164575
|
|
|
|
|
|
| |
crash
llvm-svn: 164574
|
|
|
|
|
|
|
|
|
|
| |
which builds a Debug+Asserts build of Clang and
links LLDB against it. The Debug configuration
builds Clang with Release+Asserts, for faster
linking and smaller memory footprint when debugging
the build LLDB.
llvm-svn: 164573
|
|
|
|
| |
llvm-svn: 164572
|
|
|
|
|
|
|
|
|
| |
Even out-of-line jump tables can be in the code section, so mark them
as data-regions for those targets which support the directives.
rdar://12362871&12362974
llvm-svn: 164571
|
|
|
|
| |
llvm-svn: 164570
|
|
|
|
|
|
| |
unused expression warnings. <rdar://problem/12359208>.
llvm-svn: 164569
|
|
|
|
| |
llvm-svn: 164568
|
|
|
|
|
|
| |
Also remove an unused argument.
llvm-svn: 164567
|
|
|
|
|
|
| |
to the feature.
llvm-svn: 164566
|
|
|
|
|
|
|
|
|
| |
I also moved the SDKROOT setting into the make flags, since clearing it from
the environment isn't good enough to override a setting on the make command
line. That hasn't been a problem but it could be, and it's good to be
consistent with the way UNIVERSAL_SDK_PATH is handled.
llvm-svn: 164565
|
|
|
|
|
|
|
|
| |
that volatile registers are correctly reported for this ABI.
We were incorrectly passing up volatile registers from callee
frames.
llvm-svn: 164564
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
top-of-tree. Removed all local patches and llvm.zip.
The intent is that fron now on top-of-tree will
always build against LLVM/Clang top-of-tree, and
that problems building will be resolved as they
occur. Stable release branches of LLDB can be
constructed as needed and linked to specific release
branches of LLVM/Clang.
llvm-svn: 164563
|