summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [WinEH] Fix two minor issues in __CxxFrameHandler3 tablesReid Kleckner2015-10-074-12/+12
| | | | | | | | | | | | There was an off-by-one bug in ip2state tables which manifested when one call immediately preceded the try-range of the next. The return address of the previous call would appear to be within the try range of the next scope, resulting in extra destructors or catches running. We also computed the wrong offset for catch parameter stack objects. The offset should be from RSP, not from RBP. llvm-svn: 249578
* AMDGPU: Fix missing implicit m0 uses on movrel instructionsMatt Arsenault2015-10-071-0/+7
| | | | llvm-svn: 249577
* [AArch64] Fold a floating-point multiply by power of two into fp conversion.Chad Rosier2015-10-072-0/+224
| | | | | | Part of http://reviews.llvm.org/D13442 llvm-svn: 249576
* [IndVars] Preserve LCSSA in `eliminateIdentitySCEV`Sanjoy Das2015-10-072-0/+52
| | | | | | | | | | | | | | | | | | | | Summary: After r249211, SCEV can see through some LCSSA phis. Add a `replacementPreservesLCSSAForm` check before replacing uses of these phi nodes with a simplified use of the induction variable to avoid breaking LCSSA. Fixes 25047. Depends on D13460. Reviewers: atrick, hfinkel Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13461 llvm-svn: 249575
* [SCEV] Use some C++11'ism, NFCSanjoy Das2015-10-071-26/+21
| | | | | | | | | | Summary: Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13457 llvm-svn: 249574
* ELF2: Use ld.lld2 instead of lld -flavor gnu2.Rui Ueyama2015-10-0770-166/+166
| | | | llvm-svn: 249573
* [ARM] Promote helper function to SelectionDAG.Chad Rosier2015-10-074-34/+48
| | | | | | | | | I'll be using the function in a similar combine for AArch64. The helper was also improved to handle undef values. Part of http://reviews.llvm.org/D13442 llvm-svn: 249572
* Test commit access. Fixed comment to have correct input parameter name andKevin B. Smith2015-10-071-1/+1
| | | | | | period termination. llvm-svn: 249571
* Reduce header inclusion in Expression.Bruce Mitchener2015-10-0711-26/+4
| | | | | | | | | | Reviewers: spyffe Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13333 llvm-svn: 249570
* [WinEH] Update CoreCLR EH for catchpad MBBsJoseph Tremoulet2015-10-072-4/+5
| | | | | | | | | | | | | | | Summary: Set the pad MBB as a funclet entry for CoreCLR as well as MSVCCXX, and update state numbering to put the catchpad block rather than its normal successor into the unwind map. Reviewers: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13492 llvm-svn: 249569
* ELF2: Rename local variable name `Out` in preparation to define `Out` global ↵Rui Ueyama2015-10-073-17/+17
| | | | | | var. llvm-svn: 249568
* clang-format: Add include sorting capabilities to sublime, emacs andDaniel Jasper2015-10-073-1/+6
| | | | | | clang-format-diff.py. llvm-svn: 249567
* ELF2: Move functions out of line.Rui Ueyama2015-10-072-46/+48
| | | | llvm-svn: 249566
* [ARM] Use correct half-precision functions in EABI modeOliver Stannard2015-10-074-29/+47
| | | | | | | | | The ARM RTABI defines the half- to single-precision float conversion functions with an __aeabi prefix, but libgcc only has them with a __gnu prefix. Therefore we need to emit the __aeabi version when compiling with an eabi or eabihf triple, and the __gnu version with a gnueabi or gnueabihf triple. llvm-svn: 249565
* commands: Use override instead of virtual.Bruce Mitchener2015-10-0718-1216/+1029
| | | | | | | | | | | | | | | | | Summary: This removes all uses of virtual on functions where override could be used, including on destructors. It also adds override where virtual was previously missing. Reviewers: clayborg, labath Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13503 llvm-svn: 249564
* Remove unused virtuals from ABISysV_ppc*Bruce Mitchener2015-10-072-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The StackUsesFrames and FunctionCallsChangeCFA virtual functions aren't used anywhere and aren't overridden by anything. They were introduced when the ABISysV_ppc* code was added and weren't used at the time. The review for the commit that added them can be found at http://reviews.llvm.org/D5988 The commit comment notes that backtraces don't yet work: Backtraces don't work. This is due to PowerPC ABI using a backchain pointer in memory, instead of a dedicated frame pointer register for the backchain. So there is a possibility these were added with the intent of using them in the future. Reviewers: clayborg, jingham, jhibbits, emaste Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13506 llvm-svn: 249563
* Move test back to Generic now it's fixed the right way (thanks Eric!)David Blaikie2015-10-071-0/+0
| | | | | | | | I knee-jerk tried to fix this in completely the wrong way - it's not an CPU limitation, but an OS/object file type one, so moving it into a CPU-specific classification didn't help at all. llvm-svn: 249562
* Add expectedFailureFreeBSD for Go runtime testEd Maste2015-10-071-0/+1
| | | | | | | | AssertionError: False is not True : No thread stopped at our breakpoint. llvm.org/pr24895 llvm-svn: 249561
* [ARM] Prevent PerformVDIVCombine from combining a vcvt/vdiv with 8 lanes.Chad Rosier2015-10-072-3/+12
| | | | | | This would result in a crash since the vcvt used does not support v8i32 types. llvm-svn: 249560
* Add ARM RTABI aliases for half-precision conversionsOliver Stannard2015-10-073-0/+6
| | | | | | | The ARM RTABI defines these functions as __aeabi_h2f, __aeabi_f2h and __aeabi_d2h, so we need aliases for them. llvm-svn: 249559
* Fix a linking issue on lib lldb linking with the new Go supportSylvestre Ledru2015-10-071-0/+1
| | | | llvm-svn: 249558
* Teach computeKnownBits to use new align attribute/metadataArtur Pilipenko2015-10-072-3/+38
| | | | | | | | Reviewed By: reames Differential Revision: http://reviews.llvm.org/D13470 llvm-svn: 249557
* [VFS] Port driver tool chains to VFS.Benjamin Kramer2015-10-0711-147/+251
| | | | | | | There are still some loose ends here but it's sufficient so we can detect GCC headers that are inside of a VFS. llvm-svn: 249556
* Loosening the restriction on variadic function definitions so that extern ↵Aaron Ballman2015-10-072-3/+12
| | | | | | "C" function definitions are permissible. llvm-svn: 249555
* Resumbit "Fix race condition during process detach"Pavel Labath2015-10-073-42/+41
| | | | | | | This is a resubmission of r248371. It also incorporates the process event hijack patch by Kyrill Lapshin in D12968. llvm-svn: 249554
* clang-format: Fixed missing space between Obj-C for/in and a typecast.Daniel Jasper2015-10-072-1/+15
| | | | | | | | | | | | | | | | | Fixes this bug: https://llvm.org/bugs/show_bug.cgi?id=24504 TokenAnnotator::spaceRequiredBetween was handling TT_ForEachMacro but not TT_ObjCForIn, so lines that look like: for (id nextObject in (NSArray *)myArray) would incorrectly turn into: for (id nextObject in(NSArray *)myArray) Patch by Kent Sutherland, thank you. llvm-svn: 249553
* [clang-format] Stop alignment sequences on open braces and parens whenDaniel Jasper2015-10-072-8/+58
| | | | | | | | | | | | | | | | | aligning assignments. This was done correctly when aligning the declarations, but not when aligning assignments. FIXME: The code between assignments and declarations alignment is roughly duplicated and would benefit from factorization. Bug 25090: https://llvm.org/bugs/show_bug.cgi?id=25090 Patch by Beren Minor. Thank you. llvm-svn: 249552
* [ELF2] -z now option implementedGeorge Rimar2015-10-075-1/+33
| | | | | | | | When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called. Differential Revision: http://reviews.llvm.org/D13468 llvm-svn: 249551
* [ARM][AArch64] Only lower to interleaved load/store if the target has NEONJeroen Ketema2015-10-074-95/+174
| | | | | | | | | Without an additional check for NEON, the compiler crashes during legalization of NEON ldN/stN. Differential Revision: http://reviews.llvm.org/D13508 llvm-svn: 249550
* Fix race condition in the working directory cleanup codeTamas Berghammer2015-10-071-4/+9
| | | | llvm-svn: 249549
* Use non virtual destructors for sections.Rafael Espindola2015-10-076-28/+29
| | | | llvm-svn: 249548
* [ARM] Push more complex check down to reduce compile time. NFC.Chad Rosier2015-10-071-10/+10
| | | | llvm-svn: 249547
* Don't repeat names in comments and don't indent in namespaces. NFC.Rafael Espindola2015-10-074-85/+78
| | | | llvm-svn: 249546
* IRBuilder: Use Map.lookup instead of Map.find [NFC]Tobias Grosser2015-10-071-8/+6
| | | | | | | This simplifies the code. Suggested-by: Johannes Doerfert llvm-svn: 249545
* IRBuilder: Ensure we do not add empty map elementsTobias Grosser2015-10-071-4/+14
| | | | | | | | | | | Do not use "Map[Key] == nullptr" to check if a Key is in the map, but use "Map.find(Key) == Map.end()". Map[Key] always adds Key into the map, a side-effect we do not want. Found by inspection. This is hard to test outside of a targetted unit test, which seems too much overhead for this individual issue. llvm-svn: 249544
* IRBuilder: Simplify code and reduce indention [NFC]Tobias Grosser2015-10-071-20/+24
| | | | llvm-svn: 249543
* clang-format: Hopefully fix code blocks in docs.Daniel Jasper2015-10-072-1/+7
| | | | | | Otherwise I will have to install sphinx ;).. llvm-svn: 249542
* Remove working directory from remote platform in the test suiteTamas Berghammer2015-10-071-0/+7
| | | | | | | | | Previously we haven't cleaned up the working directory we created on the remote platform and because of it we run out of storage on some android device/emulator (caused by the 2x increase of the number of test cases because of dwo). llvm-svn: 249541
* Add checker for the C++ Core Guidelines: cppcoreguidelines-pro-type-const-cast.Aaron Ballman2015-10-077-0/+87
| | | | | | Patch by Matthias Gehre! llvm-svn: 249540
* XFAIL new dwo test failing with totclang on linux i386Tamas Berghammer2015-10-071-0/+1
| | | | llvm-svn: 249539
* Silence warning about not being able to find clang-interpreterRichard Barton2015-10-071-11/+15
| | | | | | This binary is only built with the examples project, so only require it then. llvm-svn: 249538
* Revert: r249536 - Testing commit access with a trival whitespace change.Scott Egerton2015-10-071-1/+1
| | | | llvm-svn: 249537
* Testing commit access with a trival whitespace change.Scott Egerton2015-10-071-1/+1
| | | | llvm-svn: 249536
* Make the test take input from stdin to prevent matching characters in a file ↵Richard Barton2015-10-071-4/+4
| | | | | | path llvm-svn: 249535
* Fix crash in codegen on casting to `bool &`.Alexey Bataev2015-10-072-1/+10
| | | | | | | | Currently codegen crashes trying to emit casting to bool &. It happens because bool type is converted to i1 and later then lvalue for reference is converted to i1*. But when codegen tries to load this lvalue it crashes trying to load value from this i1*. Differential Revision: http://reviews.llvm.org/D13325 llvm-svn: 249534
* Fix minor typos in comments.Bruce Mitchener2015-10-073-4/+4
| | | | llvm-svn: 249533
* [VFS] Refactor VFSFromYAML a bit.Benjamin Kramer2015-10-071-60/+57
| | | | | | | | | | - Rename it to RedirectingFileSystem. This is what it does, YAML is just a serialization format for it. - Consistently use unique_ptr for memory management. No functional change intended. llvm-svn: 249532
* [Go] Fix inconsistent-missing-override warnings.Bruce Mitchener2015-10-071-4/+4
| | | | llvm-svn: 249531
* Run tests with dwo symbol filesTamas Berghammer2015-10-076-3/+65
| | | | | | | | | | dwo symbol files are generated when code compiled with the "-gsplit-dwarf" command option (https://gcc.gnu.org/wiki/DebugFission). This CL modifies the test system to run tests with inferiors compile with the "-gsplit-dwarf" Differential revision: http://reviews.llvm.org/D13300 llvm-svn: 249530
* [ELF2] Handle -m optionDenis Protivensky2015-10-0710-20/+234
| | | | | | | | | Parse and apply emulation given with -m option. Check input files to match ELF type and machine architecture provided with -m. Differential Revision: http://reviews.llvm.org/D13055 llvm-svn: 249529
OpenPOWER on IntegriCloud