| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
For GOT relocations the addend should modify the offset to the
GOT entry, not the value of the entry itself. Teach RuntimeDyldMachO
to do The Right Thing here.
Fixes <rdar://problem/16961886>.
llvm-svn: 209154
|
| |
|
|
|
|
|
| |
relocation. In fact this case violates ABI but sometimes compilers might
produce such code.
llvm-svn: 209153
|
| |
|
|
|
|
| |
for that.
llvm-svn: 209152
|
| |
|
|
|
|
|
| |
Need to spend a little more time with suppressing the debugserver 64-to-32 bit warnings.
Will re-submit after I get the warnings properly suppressed.
llvm-svn: 209151
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D3815
llvm-svn: 209150
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements global named registers in Clang, lowering to the just
created intrinsics in LLVM (@llvm.read/write_register). A new type of LValue
had to be created (Register), which just adds support to carry the metadata
node containing the name of the register. Two new methods to emit loads and
stores interoperate with another to emit the named metadata node.
No guarantees are being made and only non-allocatable global variable named
registers are being supported. Local named register support is unchanged.
llvm-svn: 209149
|
| |
|
|
|
|
| |
this test probably should not have been XFAILed everywhere regardless. The test passes on Windows with MSVC 12.
llvm-svn: 209148
|
| |
|
|
| |
llvm-svn: 209147
|
| |
|
|
| |
llvm-svn: 209146
|
| |
|
|
|
|
|
| |
We only need them on the dllimport.cpp test to make sure that we emit code
for available_externaly functions, and don't inline the IR.
llvm-svn: 209145
|
| |
|
|
|
|
|
|
| |
Follow-up fix for 209138. Actually, since we already have this file
open, we don't want to refresh the stat() info, since that might be
newer than what we have open (bad!).
llvm-svn: 209143
|
| |
|
|
| |
llvm-svn: 209142
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Handle various forms of existing namespace closing comments, fix
existing comments with wrong namespace name, ignore short namespaces.
The state of this check now seems to be enough to enable it by default to gather
user feedback ;)
Reviewers: klimek
Reviewed By: klimek
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D3825
llvm-svn: 209141
|
| |
|
|
|
|
| |
to the appropriate diagnostic wording.
llvm-svn: 209140
|
| |
|
|
| |
llvm-svn: 209139
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
FileManager::invalidateCache is not safe to call when there may be
existing references to the file. What module load failure needs is
to refresh so stale stat() info isn't stored.
This may be the last user of invalidateCache; I'll take a look and
remove it if possible in a future commit.
This caused a use-after-free error as well as a spurious error message
that a module was "found in both 'X.pcm' and 'X.pcm'" in some cases.
llvm-svn: 209138
|
| |
|
|
|
|
|
| |
Removes old 4096 byte workaround. This functionality has been available since
Windows XP.
llvm-svn: 209137
|
| |
|
|
| |
llvm-svn: 209136
|
| |
|
|
|
|
|
|
| |
as it was causing build failures in ruby.
This reverts commit r207713.
llvm-svn: 209135
|
| |
|
|
| |
llvm-svn: 209134
|
| |
|
|
|
|
| |
GCC and that doesn't expose any *ti* functions either.
llvm-svn: 209133
|
| |
|
|
| |
llvm-svn: 209132
|
| |
|
|
|
|
|
|
| |
The list of alpha and the list of implicit checkers added. An ability to expand/collapse long texts added. Markup fixed.
http://reviews.llvm.org/D3457
llvm-svn: 209131
|
| |
|
|
|
|
|
|
| |
should be failing. The original commit which XFAILed this was r111581, which suggested something was wrong with file remapping, but that may have been subsequently fixed.
Removing the XFAIL, but will watch the build bots to see if any go red because of this. Local testing on Windows succeeds.
llvm-svn: 209130
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D3808
llvm-svn: 209129
|
| |
|
|
| |
llvm-svn: 209128
|
| |
|
|
|
|
| |
Patch by Pedro Ferreira!
llvm-svn: 209127
|
| |
|
|
|
|
| |
case labels. No functional changes intended.
llvm-svn: 209126
|
| |
|
|
|
|
|
|
|
| |
The cost model conservatively assumes that it will always get scalarized and
that's about as good as we can get with the generic TTI; reasoning whether a
shuffle with an efficient lowering is available is hard. We can override that
conservative estimate for some targets in the future.
llvm-svn: 209125
|
| |
|
|
| |
llvm-svn: 209124
|
| |
|
|
|
|
|
|
|
|
| |
bswap not.
- On ARM/ARM64 we get a vrev because the shuffle matching code is really smart. We still unroll anything that's not v4i32 though.
- On X86 we get a pshufb with SSSE3. Required more cleverness in isShuffleMaskLegal.
- On PPC we get a vperm for v8i16 and v4i32. v2i64 is unrolled.
llvm-svn: 209123
|
| |
|
|
|
|
|
|
|
|
| |
and requires internal padding
When we were padding a struct to avoid splitting it between registers and
the stack, we were throwing away the type which the argument should be coerced
to.
llvm-svn: 209122
|
| |
|
|
|
|
|
|
|
|
|
| |
Summary:
Sandboxed code may now pass additional arguments to
__sanitizer_sandbox_on_notify() to force all coverage data to be dumped to a
single file (the default is one file per module). The user may supply a file or
socket to write to. The latter option can be used to broker out the file writing
functionality. If -1 is passed, we pre-open a file.
llvm-svn: 209121
|
| |
|
|
|
|
| |
This is necessary to reduce staging times on parallel build systems.
llvm-svn: 209120
|
| |
|
|
| |
llvm-svn: 209119
|
| |
|
|
|
|
|
| |
THe lldb-mi stuff was not being built on Linux with autotools.
I only added Linux now as I have tested that it build fine on Linux.
llvm-svn: 209117
|
| |
|
|
| |
llvm-svn: 209116
|
| |
|
|
|
|
| |
Reviewed at http://reviews.llvm.org/D3796
llvm-svn: 209115
|
| |
|
|
|
|
|
|
|
|
|
| |
Before:
[self.x a:b c:d];
Got reformatted toi (with ColumnLimit set to 0):
[self.x a:b
c:d];
llvm-svn: 209114
|
| |
|
|
|
|
|
|
|
|
| |
Before:
var[a, b, c] = [1, 2, 3];
After:
var [a, b, c] = [1, 2, 3];
llvm-svn: 209113
|
| |
|
|
|
|
|
|
|
|
| |
Before:
var b = a.map((x) = > x + 1);
After:
var b = a.map((x) => x + 1);
llvm-svn: 209112
|
| |
|
|
| |
llvm-svn: 209111
|
| |
|
|
|
|
|
|
|
|
|
| |
This removes TODO added in r208849 [http://reviews.llvm.org/D3629]
MIN(MIN(A, 97), 23) -> MIN(A, 23)
MAX(MAX(A, 23), 97) -> MAX(A, 97)
Differential Revision: http://reviews.llvm.org/D3785
llvm-svn: 209110
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Checks that at at least qRegisterInfo0 responds with a valid
register info reply packet. The packet is parsed and validates
that all keys come from the documented set of valid keys. It
then validates that a minimum set of expected keys
are present in the returned packet.
This test is set to pass on debugserver and fail on llgs TOT.
llvm-svn: 209109
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
debugserver now returns $X09 as the immediate response to
a $k kill process request rather than $W09.
ProcessGDBRemote now properly handles X as indication of
a process exit state.
The @debugserver_test and @lldb_test for $k now properly expects
an X notification (signal-caused exit) after killing a just-attached
inferior that was still in the stopped state.
llvm-svn: 209108
|
| |
|
|
| |
llvm-svn: 209107
|
| |
|
|
| |
llvm-svn: 209106
|
| |
|
|
| |
llvm-svn: 209105
|
| |
|
|
|
|
|
| |
SVN r209103 removed the OwningPtr variant of the MemoryBuffer APIs. Switch to
the equivalent std::unique_ptr versions. This should clear up the build bots.
llvm-svn: 209104
|
| |
|
|
|
|
| |
versions are not used by lldb, lld, or clang.
llvm-svn: 209103
|