- May 26, 2015
-
-
Matt Arsenault authored
llvm-svn: 238218
-
Matt Arsenault authored
This was resulting in the addrspacecast being removed and incorrectly replaced with a ptrtoint when sinking. llvm-svn: 238217
-
Jonathan Peyton authored
The variable j is now checked so there is no possible out-of-bounds issue when accessing __kmp_nested_nth.nth[] array. llvm-svn: 238216
-
Jonathan Peyton authored
This off-by-one error could lead to an out-of-bounds access on the cons_text_c[] array. llvm-svn: 238215
-
Rui Ueyama authored
This data type is described in the Microsoft PE/COFF spec rev. 8.3 5.4.1. llvm-svn: 238214
-
Rui Ueyama authored
Add a function that returns number of symbols in archive headers. llvm-svn: 238213
-
Aaron Ballman authored
Going out on a limb and guessing that someone viewing the 3.7 release notes may instead want to view 3.6 instead of 3.5. llvm-svn: 238212
-
Tom Stellard authored
llvm-svn: 238211
-
Tom Stellard authored
If there is an InstAlias defined for an instruction that had a custom converter (AsmMatchConverter), then when the alias is matched, the custom converter will be used rather than the converter generated by the InstAlias. This patch adds the UseInstAsmMatchConverter field to the InstAlias class, which allows you to override this behavior and force the converter generated by the InstAlias to be used. This is required for some future improvemnts to the R600 assembler. Differential Revision: http://reviews.llvm.org/D9083 llvm-svn: 238210
-
Rafael Espindola authored
There is now no SectionData to be created. llvm-svn: 238208
-
Marshall Clow authored
llvm-svn: 238207
-
Rafael Espindola authored
llvm-svn: 238205
-
Rafael Espindola authored
I will fix the name shortly. llvm-svn: 238204
-
Rafael Espindola authored
A step towards merging MCSection and MCSectionData. llvm-svn: 238203
-
Alexander Kornienko authored
llvm-svn: 238202
-
Luke Cheeseman authored
llvm-svn: 238201
-
Petar Jovanovic authored
On MIPS unsigned int type should not be zero extended but sign-extended. Patch by Strahinja Petrovic. Differential Revision: http://reviews.llvm.org/D9198 llvm-svn: 238200
-
Luke Cheeseman authored
llvm-svn: 238199
-
Elena Demikhovsky authored
https://llvm.org/bugs/show_bug.cgi?id=23630 llvm-svn: 238198
-
Daniel Sanders authored
llvm-svn: 238197
-
Tamas Berghammer authored
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
-
Elena Demikhovsky authored
https://llvm.org/bugs/show_bug.cgi?id=23634 llvm-svn: 238195
-
Denis Protivensky authored
It caused warning in clang assuming the default branch would never be reached with the given switch key type. llvm-svn: 238194
-
Alexander Kornienko authored
[clang-tidy] Don't issue most google-readability-casting warnings on .c files included in other files. This is done sometimes for testing purposes, and the check needs to handle this consistently. llvm-svn: 238193
-
Michael Kuperstein authored
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
-
Denis Protivensky authored
llvm-svn: 238191
-
Daniel Sanders authored
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
-
Simon Atanasyan authored
No functional changes. llvm-svn: 238189
-
Simon Atanasyan authored
That allows to reuse the code in other tools like llvm-readobj etc. No functional changes. llvm-svn: 238188
-
Craig Topper authored
[TableGen] Fix line wrapping logic for the autogenerated header to use math 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
-
Craig Topper authored
[TableGen] Rewrite an assert to not do a bunch unsigned math and then try to 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
-
Craig Topper authored
[TableGen] Put a space between '*' and description in the autogenerated tablegen header. Minor cleanup in surrounding code. llvm-svn: 238185
-
Daniel Jasper authored
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
-
Daniel Jasper authored
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
-
Daniel Jasper authored
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
-
Craig Topper authored
llvm-svn: 238181
-
Craig Topper authored
llvm-svn: 238180
-
Craig Topper authored
llvm-svn: 238179
-
Craig Topper authored
[TableGen] Remove unneeded namespace around a function. Just put llvm:: on the definition since it's already declared in a header file. llvm-svn: 238178
-
Craig Topper authored
llvm-svn: 238177
-