summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Test CommitLuke Cheeseman2015-05-261-1/+0
| | | | llvm-svn: 238199
* AVX-512: fixed a bug in arithmetic operations lowering for i1 typeElena Demikhovsky2015-05-261-0/+12
| | | | | | https://llvm.org/bugs/show_bug.cgi?id=23630 llvm-svn: 238198
* Fix warning introduced in r238190 about lack of virtual destructor in ↵Daniel Sanders2015-05-261-0/+2
| | | | | | MCObjectFileInfo. llvm-svn: 238197
* Move register reading form NativeProcessLinux to NativeRegisterContextLinux*Tamas Berghammer2015-05-2617-1592/+1461
| | | | | | | | | | | | | | | | | 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
* AVX-512: fixed a bug in lowering VSELECT for 512-bit vectorElena Demikhovsky2015-05-262-1/+36
| | | | | | https://llvm.org/bugs/show_bug.cgi?id=23634 llvm-svn: 238195
* [ARM] Fix enum type cast in switchDenis Protivensky2015-05-261-1/+1
| | | | | | | | It caused warning in clang assuming the default branch would never be reached with the given switch key type. llvm-svn: 238194
* [clang-tidy] Don't issue most google-readability-casting warnings on .c ↵Alexander Kornienko2015-05-262-8/+22
| | | | | | | | | files included in other files. This is done sometimes for testing purposes, and the check needs to handle this consistently. llvm-svn: 238193
* Use std::bitset for SubtargetFeatures.Michael Kuperstein2015-05-2638-1022/+1074
| | | | | | | | | | | | 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
* [ARM] Move out .ARM.exidx related things to ARM backendDenis Protivensky2015-05-267-18/+54
| | | | llvm-svn: 238191
* [mips] Make TTypeEncoding indirect to allow .eh_frame to be read-only.Daniel Sanders2015-05-265-11/+48
| | | | | | | | | | | | | | | | | | | | | | | | 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
* [Mips] Use structures declared in the llvm/Object/ELFTypes.hSimon Atanasyan2015-05-263-53/+13
| | | | | | No functional changes. llvm-svn: 238189
* [mips] Move some structures represent MIPS specific ELF sections from LLD to ↵Simon Atanasyan2015-05-261-0/+37
| | | | | | | | | | LLVM That allows to reuse the code in other tools like llvm-readobj etc. No functional changes. llvm-svn: 238188
* [TableGen] Fix line wrapping logic for the autogenerated header to use math ↵Craig Topper2015-05-261-7/+6
| | | | | | | | 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
* [TableGen] Rewrite an assert to not do a bunch unsigned math and then try to ↵Craig Topper2015-05-261-3/+3
| | | | | | | | 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] Put a space between '*' and description in the autogenerated ↵Craig Topper2015-05-261-7/+6
| | | | | | tablegen header. Minor cleanup in surrounding code. llvm-svn: 238185
* clang-format: Guard the bin-packing in braced lists on BinPackArgumentsDaniel Jasper2015-05-263-6/+6
| | | | | | | | 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
* clang-format: [JS] Support ES6 spread operator.Daniel Jasper2015-05-262-0/+6
| | | | | | | | | | | | | | 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
* clang-format: Fix child-formatting in macros.Daniel Jasper2015-05-262-4/+17
| | | | | | | | | | | | | | | 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
* [TableGen] Fix indentation. NFCCraig Topper2015-05-261-1/+1
| | | | llvm-svn: 238181
* [TableGen] Include header for each cpp file first. NFCCraig Topper2015-05-263-4/+3
| | | | llvm-svn: 238180
* [TableGen] Remove unnecessary include and just forward declare. NFCCraig Topper2015-05-261-2/+1
| | | | llvm-svn: 238179
* [TableGen] Remove unneeded namespace around a function. Just put llvm:: on ↵Craig Topper2015-05-261-5/+1
| | | | | | the definition since it's already declared in a header file. llvm-svn: 238178
* [TableGen] Use 'static' instead of an anonymous namespace.Craig Topper2015-05-261-18/+16
| | | | llvm-svn: 238177
* [Mips] Add Elf_Mips_Options::getRegInfoDesc() function to retrieve an ↵Simon Atanasyan2015-05-262-3/+9
| | | | | | | | ODK_REGINFO descriptor No functional changes. llvm-svn: 238176
* [Mips] Make the code shorter - use LLVM_ELF_IMPORT_TYPES_ELFT macroSimon Atanasyan2015-05-261-2/+1
| | | | | | No functional changes. llvm-svn: 238175
* revert files unintentionally checked inVince Harron2015-05-262-7/+5
| | | | llvm-svn: 238174
* Print port number that lldb-server binds to in platform modeVince Harron2015-05-263-6/+8
| | | | | | | | | | | | | | | | 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
* Remove most uses of MCSectionData from MCAssembler.Rafael Espindola2015-05-268-46/+30
| | | | llvm-svn: 238172
* Stop using MCSectionData in MCAsmLayout.h.Rafael Espindola2015-05-267-57/+57
| | | | llvm-svn: 238170
* [ELF] Add support for -z origin/now options.Davide Italiano2015-05-264-2/+122
| | | | | | Differential Revision: http://reviews.llvm.org/D9963 llvm-svn: 238169
* Delete dead code.Rafael Espindola2015-05-261-5/+0
| | | | llvm-svn: 238168
* Move MCSection destruction to MCContext::reset.Rafael Espindola2015-05-261-8/+8
| | | | | | | | Fixes the leaks when running llc. Also found by an asan bot. llvm-svn: 238167
* [MS ABI] Implement restrict qualified referencesDavid Majnemer2015-05-262-65/+78
| | | | | | MSVC 2015 supports '__restrict' qualified reference types. llvm-svn: 238166
* Stop using MCSectionData in MCMachObjectWriter.h.Rafael Espindola2015-05-266-61/+45
| | | | llvm-svn: 238165
* Remove dead forward declaration.Rafael Espindola2015-05-261-1/+0
| | | | llvm-svn: 238164
* Stop using MCSectionData in MCExpr.h.Rafael Espindola2015-05-267-46/+33
| | | | llvm-svn: 238163
* Return a MCSection from MCFragment::getParent().Rafael Espindola2015-05-2611-67/+86
| | | | | | Another step in merging MCSectionData and MCSection. llvm-svn: 238162
* Call the destructors of the MCSections.Rafael Espindola2015-05-261-0/+8
| | | | | | | | | They now contain the fragments. If we don't call the destructors the fragments leak. Found by an asan bot. llvm-svn: 238161
* Store a MCSection in MCFragment.Rafael Espindola2015-05-257-40/+44
| | | | | | Part of the work to merge MCSectionData into MCSection. llvm-svn: 238160
* Turn MCSectionData into a field of MCSection.Rafael Espindola2015-05-258-56/+87
| | | | | | | This also changes MCAssembler to store a vector of MCSections instead of an iplist of MCSectionData. llvm-svn: 238159
* Move MCSectionData to MCSection.h.Rafael Espindola2015-05-254-69/+99
| | | | | | Another step in merging MCSectionData and MCSection. llvm-svn: 238158
* Remove dead code. NFC.Rafael Espindola2015-05-251-3/+0
| | | | llvm-svn: 238157
* Make a few MCSectionELF& variables const. NFC.Rafael Espindola2015-05-251-8/+9
| | | | | | This just reduces the noise from another patch. llvm-svn: 238156
* Insert MCSectionData into the section list directly in getOrCreateSectionData.Rafael Espindola2015-05-252-8/+6
| | | | | | | Removing the logic from the constructor will make it easier to merge MCSectionData and MCSection. llvm-svn: 238155
* Use range-based for loops. NFC.Craig Topper2015-05-251-130/+84
| | | | llvm-svn: 238154
* fixed missed arch renaming (from C.Bergstrom)Andrey Churbanov2015-05-251-1/+1
| | | | llvm-svn: 238153
* Remove conflicting attributes before adding deduced readonly/readnoneBjorn Steinbrink2015-05-252-1/+18
| | | | | | | | | | | | | | | | 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/ELF] Teach how to decode DF_1_XXX flagsDavide Italiano2015-05-253-0/+38
| | | | | | | | | | | | | llvm-readobj -dynamic-table output. Before: 0x000000006FFFFFFB unknown After: 0x000000006FFFFFFB FLAGS_1 NOW ORIGIN Differential Revision: http://reviews.llvm.org/D9958 llvm-svn: 238151
* Move HasInstructions to MCSection.Rafael Espindola2015-05-257-19/+23
| | | | llvm-svn: 238150
* [X86][AVX2] Vectorized i16 shift operatorsSimon Pilgrim2015-05-253-13/+126
| | | | | | | | 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
OpenPOWER on IntegriCloud