summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [tools] Unbreak the GCC build (workaround a GCC bug).Davide Italiano2016-11-092-2/+4
| | | | | | | | | ../tools/llvm-extract/llvm-extract.cpp: In function ‘int main(int, char**)’: warning: ISO C++ forbids zero-size array ‘argv’ [-Wpedantic] GCC reference bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61259 llvm-svn: 286396
* [asan/win] Use TerminateProcess when we want to exit abnormallyReid Kleckner2016-11-091-1/+2
| | | | | | | | ExitProcess still runs some code which can lead to ASan interceptors running after CHECK failure. This can lead to deadlock if it CHECK fails again. Avoid that mess by really exiting immediately. llvm-svn: 286395
* Make BitcodeReader::parseIdentificationBlock() robust to EOFMehdi Amini2016-11-091-0/+6
| | | | | | | This method is particular: it iterates at the top-level and does not have an enclosing block. llvm-svn: 286394
* Disable cpio test on Windows again.Rui Ueyama2016-11-091-2/+3
| | | | | | | The last fix is unlikely to solve the issue. Reverting it to the original file. llvm-svn: 286393
* Attempt to fix green dragon bot.Rui Ueyama2016-11-091-3/+2
| | | | llvm-svn: 286392
* [clang-tidy docs] Recommend using add_new_check.py moreAlexander Kornienko2016-11-091-34/+48
| | | | llvm-svn: 286390
* Minor unroll pass refacoring.Evgeny Stupachenko2016-11-093-35/+38
| | | | | | | | | | | | | | | | Summary: Unrolled Loop Size calculations moved to a function. Constant representing number of optimized instructions when "back edge" becomes "fall through" replaced with variable. Some comments added. Reviewers: mzolotukhin Differential Revision: http://reviews.llvm.org/D21719 From: Evgeny Stupachenko <evstupac@gmail.com> llvm-svn: 286389
* [Verifier] clang-format a section; NFCSanjoy Das2016-11-091-6/+4
| | | | | | Suggested in D26438 since I'm touching related code. llvm-svn: 286388
* [RenderScript] Fix reduction argument printingLuke Drummond2016-11-091-0/+4
| | | | | | | | | | | | | | | | When placing function name breakpoints on RenderScript Reduction kernel functions, we were not skipping over the function prologue meaning that inspection of the arguments could be garbled as the function was not finished setting up the stack/registers. In [122fe8f](https://github.com/llvm-mirror/lldb/commit/122fe8f47255ec850155495d10526fccc51f95fb) Aidan added the `SkipPrologue` function that allows us to trivially fix up the kernel's functions' resolved addresses, falling gracefully back to the old behaviour if we don't know how to handle the prologue or can't resolve its size. llvm-svn: 286387
* [SCEV] Refactor out a useful pattern; NFCSanjoy Das2016-11-092-134/+45
| | | | llvm-svn: 286386
* Revert r286384, "X86: Introduce the "relocImm" ComplexPattern, which ↵Peter Collingbourne2016-11-097-47/+60
| | | | | | | | | represents a relocatable immediate." Suspected to be the cause of a sanitizer-windows bot failure: Assertion failed: isImm() && "Wrong MachineOperand accessor", file C:\b\slave\sanitizer-windows\llvm\include\llvm/CodeGen/MachineOperand.h, line 420 llvm-svn: 286385
* X86: Introduce the "relocImm" ComplexPattern, which represents a relocatable ↵Peter Collingbourne2016-11-097-60/+47
| | | | | | | | | | | | | | | immediate. A relocatable immediate is either an immediate operand or an operand that can be relocated by the linker to an immediate, such as a regular symbol in non-PIC code. Start using relocImm for 32-bit and 64-bit MOV instructions, and for operands of type "imm32_su". Remove a number of now-redundant patterns. Differential Revision: https://reviews.llvm.org/D25812 llvm-svn: 286384
* [Hexagon] Silence "sometimes uninitialized" warning in HexagonCopyToCombineKrzysztof Parzyszek2016-11-091-1/+3
| | | | llvm-svn: 286383
* Bitcode: Change the materializer interface to return llvm::Error.Peter Collingbourne2016-11-0919-103/+112
| | | | | | Differential Revision: https://reviews.llvm.org/D26439 llvm-svn: 286382
* Fix grammarPhilipp Stephani2016-11-091-2/+2
| | | | | | "allow" requires a direct object in this case. llvm-svn: 286381
* [Sparc] Unbreak testDouglas Katzman2016-11-091-1/+1
| | | | llvm-svn: 286380
* Make Discarded a InputSection.Rafael Espindola2016-11-093-5/+9
| | | | | | | It was quite confusing that it had SectionKind of Regular, but was not actually a InputSection. llvm-svn: 286379
* [ELF] - Add separate form for -R alias.George Rimar2016-11-091-1/+1
| | | | | | | | | | | | | | | | | | | During link of devel/chrpath (FreeBSD port), found next issue: /usr/bin/ld: error: unclosed comment in a linker script /usr/bin/ld: error: line 1: unknown directive: � /usr/bin/ld: error: �� Problem was not obvious and the reason was that we did not accept the separate form of -R. While invocation line contained it: cc -Wl,-R /usr/local/lib -o prog prog.c CPIO file produced contained /usr/local/lib file. Which looks because of reasons above contained inside the content of whole lib folder, and it then was passed as an input and proccessed as linker script. llvm-svn: 286378
* [Hexagon] Separate Hexagon subreg indices for different register classesKrzysztof Parzyszek2016-11-0925-218/+269
| | | | | | | | | | | For pairs of 32-bit registers: isub_lo, isub_hi. For pairs of vector registers: vsub_lo, vsub_hi. Add generic subreg indices: ps_sub_lo, ps_sub_hi, and a function HexagonRegisterInfo::getHexagonSubRegIndex(RegClass, GenericSubreg) that returns the appropriate subreg index for RegClass. llvm-svn: 286377
* [Sparc] LLONG is not lock-free atomic on v8Douglas Katzman2016-11-093-6/+13
| | | | | | Differential Revision: https://reviews.llvm.org/D26286 llvm-svn: 286376
* Remove TimeValue usage from lldb/TargetPavel Labath2016-11-091-3/+0
| | | | | | It was only used for declaring unused variables. :) llvm-svn: 286374
* Remove TimeValue usage from ObjectContainerBSDArchivePavel Labath2016-11-092-23/+27
| | | | llvm-svn: 286373
* Remove unused TimeValue includePavel Labath2016-11-091-1/+0
| | | | llvm-svn: 286372
* Remove TimeValue usage from lldb/HostPavel Labath2016-11-092-5/+1
| | | | llvm-svn: 286371
* Add a convenience getObj method. NFC.Rafael Espindola2016-11-093-7/+8
| | | | llvm-svn: 286370
* Remove TimeValue usage from lldb/InterpreterPavel Labath2016-11-093-6/+6
| | | | llvm-svn: 286369
* [Hexagon] Eliminate Insert4 pseudo-instruction, use combines insteadKrzysztof Parzyszek2016-11-094-53/+7
| | | | llvm-svn: 286368
* clang-format: [TypeScript] Fix bug in handling of non-null operator.Daniel Jasper2016-11-092-1/+8
| | | | | | | | | | Before: var i = x!-1; After: var i = x! - 1; llvm-svn: 286367
* Remove TimeValue usage from lldb/Core. NFC.Pavel Labath2016-11-095-45/+41
| | | | llvm-svn: 286366
* [AST] Dump dependent scope member expression with its member nameAlex Lorenz2016-11-092-0/+23
| | | | llvm-svn: 286365
* [ELF] - Enable reproduce-error.s under windows.George Rimar2016-11-091-4/+4
| | | | | | Differential revision: https://reviews.llvm.org/D26445 llvm-svn: 286364
* [CodeCompletion] Show block invocation results for block property settersAlex Lorenz2016-11-093-37/+147
| | | | | | | | | | | | This commit changes the code completion results for block property setters: The default block property result is now a block invocation rather than a simple property reference. rdar://28846196 Differential Revision: https://reviews.llvm.org/D26071 llvm-svn: 286363
* [SystemZ] A few fixes in scheduler files.Jonas Paulsson2016-11-093-11/+11
| | | | | Review: U Weigand llvm-svn: 286362
* Remove TimeValue usage from Scalar/SROA.cpp. NFC.Pavel Labath2016-11-091-2/+3
| | | | llvm-svn: 286361
* Fix expectation in TestStaticVariables.py after rL286302Tamas Berghammer2016-11-091-1/+1
| | | | | | | | The debug info emitted by clang for static variables improved by rL286302 and it exposed an incorrect test expactation because now LLDB able to displays more data 9thanks to better debug info) then before. llvm-svn: 286360
* Zero-initialize chrono duration objectsPavel Labath2016-11-092-3/+3
| | | | | | | The default duration constructor does not zero-initialize the object, we need to do that manually. llvm-svn: 286359
* [dsymutil] Replace TimeValue with TimePointPavel Labath2016-11-096-40/+46
| | | | | | | | | | | | | | Summary: All changes are pretty straight-forward. I chose to use TimePoints with second precision, as that is all that seems to be required here. Reviewers: friss, zturner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25908 llvm-svn: 286358
* Replace TimeValue with TimePoint in BuildSystem.cpp. NFC.Pavel Labath2016-11-091-2/+2
| | | | llvm-svn: 286357
* [VFS] Replace TimeValue usage with std::chronoPavel Labath2016-11-096-28/+33
| | | | | | | | | | | | Summary: NFCI Reviewers: benlangmuir, zturner Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25948 llvm-svn: 286356
* Display the pointer value in the libstdc++ unique_ptr summaryPavel Labath2016-11-092-20/+11
| | | | | | | | | | | | | | | | | | | Summary: r284830 added a summary provider for unique_ptr in libstdc++, whose value printed the value of the pointee. This is a bit unintuitive as it becomes unobvious that the value actually is a pointer, and we lose the way to actually obtain the pointer value. Change that to print the pointer value instead. The pointee value can still be obtained through the synthetic children. Reviewers: tberghammer, granata.enrico Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D26403 llvm-svn: 286355
* [Sema] Avoid -Wshadow warnings for shadowed variables that aren't capturedAlex Lorenz2016-11-094-2/+129
| | | | | | | | | | | | | | | | by lambdas with an explicit capture list This commit avoids the -Wshadow warning for variables which shadow variables that aren't captured by lambdas with an explicit capture list. It provides an additional note that points to location of the explicit capture. The old behaviour is preserved with -Wshadow-all or -Wshadow-uncaptured-local. rdar://17135966 Differential Revision: https://reviews.llvm.org/D26278 llvm-svn: 286354
* [ELF] ARM and AArch64 undefined weak reference valuesPeter Smith2016-11-095-3/+172
| | | | | | | | | | | | | The ARM 32 and 64-bit ABI does not use 0 for undefined weak references that are used in PC relative relocations. In particular: - A branch relocation to an undefined weak resolves to the next instruction. Effectively making the branch a no-op - In all other cases the symbol resolves to the place so that S + A - P resolves to A. Differential Revision: https://reviews.llvm.org/D26240 llvm-svn: 286353
* Disable windows-only minidump pluginPavel Labath2016-11-094-28/+5
| | | | | | | | | | | | | | | | | Summary: This commit disables the windows-only minidump plugin and enables the new cross-platform plugin for windows minidump files. Test decorators are adjusted to reflect that: windows minidump tests can now run on all platforms. The exception is the tests that create minidump files, as that functionality is not available yet. I've checked that this works on windows and linux. Reviewers: amccarth, zturner Subscribers: dvlahovski, lldb-commits Differential Revision: https://reviews.llvm.org/D26393 llvm-svn: 286352
* [mips] Add non-const getter for the Elf_Mips_Options class. NFCSimon Atanasyan2016-11-091-3/+6
| | | | llvm-svn: 286351
* [MachineScheduler] Comments fixing.Jonas Paulsson2016-11-092-2/+3
| | | | | | | | The name/comment of the third argument to the ScheduleDAGMI constructor is RemoveKillFlags and not IsPostRA. Only the comments are changed. Review: A Trick llvm-svn: 286350
* Remove TimeValue usage from Core/ModulePavel Labath2016-11-097-70/+72
| | | | | | | | | | | | | | | | Summary: The only interesting part here is that TimePoint and TimeValue have different natural string representations, which affects "target modules list" output. It is now "2016-07-09 04:02:21.000000000", whereas previously in was "Sat Jul 9 04:02:21 2016". I wanted to check if we're OK with that. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D26275 llvm-svn: 286349
* [ELF] - Ignore -stats command line option.George Rimar2016-11-091-0/+1
| | | | llvm-svn: 286348
* [ARM] Loop Strength Reduction crashes when targeting ARM or Thumb.Alexandros Lamprineas2016-11-092-3/+38
| | | | | | | | | | | Scalar Evolution asserts when not all the operands of an Add Recurrence Expression are loop invariants. Loop Strength Reduction should only create affine Add Recurrences, so that both the start and the step of the expression are loop invariants. Differential Revision: https://reviews.llvm.org/D26185 llvm-svn: 286347
* Pacify lint checkJonas Hahnfeld2016-11-093-7/+8
| | | | llvm-svn: 286346
* [AVX-512] Add lowering to cvttpd2udq/cvttps2udq for fptoui v2f64/2f32 to 2i32Craig Topper2016-11-096-51/+53
| | | | | | | | | | | | This patch adds support for fptoui to 2i32 from both 2f64 and 2f32, building on Simon's change for the signed version in r284459 and using AVX-512 instructions. If we don't have VLX support we need to use a 512-bit operation for v2f64->v2i32 and extract the result. It also recognises that cvttpd2udq zeroes the upper 64-bits of the xmm result. Differential Revision: https://reviews.llvm.org/D26331 llvm-svn: 286345
OpenPOWER on IntegriCloud