| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 238199
|
|
|
|
|
|
| |
https://llvm.org/bugs/show_bug.cgi?id=23630
llvm-svn: 238198
|
|
|
|
|
|
| |
MCObjectFileInfo.
llvm-svn: 238197
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change reorganize the register read/write code inside lldb-server on Linux
with moving the architecture independent code into a new class called
NativeRegisterContextLinux and all of the architecture dependent code into the
appropriate NativeRegisterContextLinux_* class. As part of it the compilation of
the architecture specific register contexts are only compiled on the specific
architecture because they can't be used in other cases.
The purpose of this change is to remove a lot of duplicated code from the different
register contexts and to remove the architecture dependent codes from the global
NativeProcessLinux class.
Differential revision: http://reviews.llvm.org/D9935
llvm-svn: 238196
|
|
|
|
|
|
| |
https://llvm.org/bugs/show_bug.cgi?id=23634
llvm-svn: 238195
|
|
|
|
|
|
|
|
| |
It caused warning in clang assuming the default
branch would never be reached with the given
switch key type.
llvm-svn: 238194
|
|
|
|
|
|
|
|
|
| |
files included in other files.
This is done sometimes for testing purposes, and the check needs to handle this
consistently.
llvm-svn: 238193
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, subtarget features were a bitfield with the underlying type being uint64_t.
Since several targets (X86 and ARM, in particular) have hit or were very close to hitting this bound, switching the features to use a bitset.
No functional change.
The first several times this was committed (e.g. r229831, r233055), it caused several buildbot failures.
Apparently the reason for most failures was both clang and gcc's inability to deal with large numbers (> 10K) of bitset constructor calls in tablegen-generated initializers of instruction info tables.
This should now be fixed.
llvm-svn: 238192
|
|
|
|
| |
llvm-svn: 238191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Following on from r209907 which made personality encodings indirect, do the
same for TType encodings. This fixes the case where a try/catch block needs
to generate references to, for example, std::exception in the
.gcc_except_table.
This commit uses DW_EH_PE_sdata8 for N64 as far as is possible at the moment.
However, it is possible to end up with DW_EH_PE_sdata4 when a TargetMachine is
not available. There's no risk of issues with inconsistency here since the
tables are self describing but it does mean there is a small chance of the
PC-relative offset being out of range for particularly large programs.
Reviewers: petarj
Reviewed By: petarj
Subscribers: srhines, joerg, tberghammer, llvm-commits
Differential Revision: http://reviews.llvm.org/D9669
llvm-svn: 238190
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 238189
|
|
|
|
|
|
|
|
|
|
| |
LLVM
That allows to reuse the code in other tools like llvm-readobj etc.
No functional changes.
llvm-svn: 238188
|
|
|
|
|
|
|
|
| |
that makes more sense (at least to me).
The old code had a bug if the description was between 75 and 85 characters or so as it substracted PSLen from Desc.size() instead of MAX_LINE_LEN in the compare. It also calculated odd values for PosE on the last split and just let StringRef::slice take care of it being larger than the description string.
llvm-svn: 238187
|
|
|
|
|
|
|
|
| |
ensure the result is a positive number.
I think the fact that it was explicitly excluding 0 kept this from being a tautology. The exclusion of 0 for the old math was also a bug that's easily hit if the description gets split into multiple lines.
llvm-svn: 238186
|
|
|
|
|
|
| |
tablegen header. Minor cleanup in surrounding code.
llvm-svn: 238185
|
|
|
|
|
|
|
|
| |
instead of BinPackParameters. Braced lists are used as constructor
calls in many places and so the bin-packing should follow what is done
for other calls and not what is done for function declarations.
llvm-svn: 238184
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically, don't add a space before it.
Before:
someFunction(... a);
var x = [1, 2, ... a];
After:
someFunction(...a);
var x = [1, 2, ...a];
llvm-svn: 238183
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a case where the column limit was incorrectly calculated
leading to a macro like this:
#define A \
[] { \
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx( \
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx); \
}
exceeding the column limit.
llvm-svn: 238182
|
|
|
|
| |
llvm-svn: 238181
|
|
|
|
| |
llvm-svn: 238180
|
|
|
|
| |
llvm-svn: 238179
|
|
|
|
|
|
| |
the definition since it's already declared in a header file.
llvm-svn: 238178
|
|
|
|
| |
llvm-svn: 238177
|
|
|
|
|
|
|
|
| |
ODK_REGINFO descriptor
No functional changes.
llvm-svn: 238176
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 238175
|
|
|
|
| |
llvm-svn: 238174
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If binding to port 0 is selected, the actual port is printed.
This improves the reliability of platform startup by ensuring that
a free port can be found.
TEST PLAN
./lldb-server platform --listen *:0
Listening for a connection from <port-number>...
Will appear on stdout (with other stuff potentially)
llvm-svn: 238173
|
|
|
|
| |
llvm-svn: 238172
|
|
|
|
| |
llvm-svn: 238170
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D9963
llvm-svn: 238169
|
|
|
|
| |
llvm-svn: 238168
|
|
|
|
|
|
|
|
| |
Fixes the leaks when running llc.
Also found by an asan bot.
llvm-svn: 238167
|
|
|
|
|
|
| |
MSVC 2015 supports '__restrict' qualified reference types.
llvm-svn: 238166
|
|
|
|
| |
llvm-svn: 238165
|
|
|
|
| |
llvm-svn: 238164
|
|
|
|
| |
llvm-svn: 238163
|
|
|
|
|
|
| |
Another step in merging MCSectionData and MCSection.
llvm-svn: 238162
|
|
|
|
|
|
|
|
|
| |
They now contain the fragments. If we don't call the destructors the
fragments leak.
Found by an asan bot.
llvm-svn: 238161
|
|
|
|
|
|
| |
Part of the work to merge MCSectionData into MCSection.
llvm-svn: 238160
|
|
|
|
|
|
|
| |
This also changes MCAssembler to store a vector of MCSections instead of an
iplist of MCSectionData.
llvm-svn: 238159
|
|
|
|
|
|
| |
Another step in merging MCSectionData and MCSection.
llvm-svn: 238158
|
|
|
|
| |
llvm-svn: 238157
|
|
|
|
|
|
| |
This just reduces the noise from another patch.
llvm-svn: 238156
|
|
|
|
|
|
|
| |
Removing the logic from the constructor will make it easier to merge
MCSectionData and MCSection.
llvm-svn: 238155
|
|
|
|
| |
llvm-svn: 238154
|
|
|
|
| |
llvm-svn: 238153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
In case of functions that have a pointer argument and only pass it to
each other, the function attributes pass deduces that the pointer should
get the readnone attribute, but fails to remove a readonly attribute
that may already have been present.
Reviewers: nlewycky
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D9995
llvm-svn: 238152
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
llvm-readobj -dynamic-table output.
Before:
0x000000006FFFFFFB unknown
After:
0x000000006FFFFFFB FLAGS_1 NOW ORIGIN
Differential Revision: http://reviews.llvm.org/D9958
llvm-svn: 238151
|
|
|
|
| |
llvm-svn: 238150
|
|
|
|
|
|
|
|
| |
Part of D9474, this patch extends AVX2 v16i16 types to 2 x 8i32 vectors and uses i32 shift variable shifts before packing back to i16.
Adds AVX2 tests for v8i16 and v16i16
llvm-svn: 238149
|