summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get the process ID from a minidump.Adrian McCarthy2015-09-173-3/+24
| | | | llvm-svn: 247939
* fix typo; NFCSanjay Patel2015-09-171-1/+1
| | | | llvm-svn: 247938
* [WinEH] Add a funclet layout passDavid Majnemer2015-09-177-0/+150
| | | | | | | | | Windows EH funclets need to be contiguous. The FuncletLayout pass will ensure that the funclets are together and begin with a funclet entry MBB. Differential Revision: http://reviews.llvm.org/D12943 llvm-svn: 247937
* [WinEH] Make funclet return instrs pseudo instrsReid Kleckner2015-09-1713-122/+139
| | | | | | | | | This makes catchret look more like a branch, and less like a weird use of BlockAddress. It also lets us get away from llvm.x86.seh.restoreframe, which relies on the old parentfpoffset label arithmetic. llvm-svn: 247936
* gvn small fixPiotr Padlewski2015-09-171-3/+1
| | | | | | http://reviews.llvm.org/D12928 llvm-svn: 247935
* [InstCombine] Added vector demanded bits support for SSE4A EXTRQ/INSERTQ ↵Simon Pilgrim2015-09-173-126/+327
| | | | | | | | | | instructions The SSE4A instructions EXTRQ/INSERTQ only use the lower 64-bits (or less) for many of their input vector operands and all of them have undefined upper 64-bits results. Differential Revision: http://reviews.llvm.org/D12680 llvm-svn: 247934
* Using MD_invariant_groupPiotr Padlewski2015-09-171-1/+1
| | | | | | http://reviews.llvm.org/D12927 llvm-svn: 247933
* Try to unbreak windows compiler after r247926.Douglas Katzman2015-09-171-1/+2
| | | | | | | It might not like {} implicitly cast to an Arrayref. That's the theory, since I can't test it. llvm-svn: 247932
* Added MD_invariant_group to LLVMContextPiotr Padlewski2015-09-173-2/+10
| | | | | | http://reviews.llvm.org/D12926 llvm-svn: 247931
* Fixed the comment to match reality.Artem Belevich2015-09-171-1/+1
| | | | llvm-svn: 247930
* Fix a race condition when terminating inferiors on Windows.Zachary Turner2015-09-172-0/+16
| | | | | | | | | | | | | If a breakpoint was hit in the inferior after shutdown had started but before it was complete, it would cause an unclean terminate of the inferior, leading to various problems the most visible of which is that handles to the inferior executable would remain locked, and the test suite would fail to run subsequent tests because it could not recompile the inferior. This fixes a major source of flakiness in the test suite. llvm-svn: 247929
* Delinearize multi-dimensional arrays through bitcastsTobias Grosser2015-09-171-21/+32
| | | | | | | | In some cases instcombine introduces bitcasts that slightly obfuscate the multi-dimensionality of an array. This patch teaches our fixed-size delinearization how to look through bitcasts. llvm-svn: 247928
* Restore "Function bitcode index in Value Symbol Table and lazy reading support"Teresa Johnson2015-09-175-44/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit r247898 (which reverted r247894). Patch fixed to address two issues exposed by buildbots: - unused variable warning in NDEBUG mode - std::initializer_list lifetime issue causing test failures Original Summary: Support for including the function bitcode indices in the Value Symbol Table. This requires writing the VST after the function blocks, which in turn requires a new VST forward declaration record encoding the offset of the full VST (which is backpatched to contain the offset after the VST is written). This patch also enables the lazy function reader to use the new function indices out of the VST. This support will be used by ThinLTO as well, which will be in a follow on patch. Backwards compatibility with older bitcode files is maintained. A new test is also included. The bitcode format (used for the lazy reader as well as the upcoming ThinLTO patches) came out of discussions with Duncan and others and is described here: https://drive.google.com/file/d/0B036uwnWM6RWdnBLakxmeDdOeXc/view Reviewers: dexonsmith, davidxl, joker.eph Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12536 llvm-svn: 247927
* [Shave]: Rename test file from 'shave-' to 'myriad-'Douglas Katzman2015-09-171-0/+0
| | | | llvm-svn: 247926
* [elf2] Combine adjacent compatible OutputSections in PT_LOADs.Michael J. Spencer2015-09-175-78/+152
| | | | llvm-svn: 247925
* [Shave]: Drive sparc-myriad-elf-ld directly rather than via gcc.Douglas Katzman2015-09-177-44/+180
| | | | | | Differential Revision: http://reviews.llvm.org/D12541 llvm-svn: 247924
* Fix caching for clang::Decl in DWARFASTParserClangPaul Herman2015-09-171-4/+22
| | | | | | | | | | Reviewers: sivachandra, chaoren, clayborg, tberghammer Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12942 llvm-svn: 247923
* Adjustments to syncsource.py.Todd Fiala2015-09-173-13/+13
| | | | | | | | | | | - renamed sync-source.py to syncsource.py to appease pylint. - added missing lib/transfer/__init__.py file. Fumble from git to svn. - adjusted README to call sync-source.py syncsource.py, and call .sync-sourcerc .syncsourcerc. - marked syncsource.py as executable by all. llvm-svn: 247922
* Revert "ubsan: Implement memory permission validation for vtables."Evgeniy Stepanov2015-09-173-76/+0
| | | | | | | This reverts r247484 and two follow-up commits. Breaks ppc and x86_64 sanitizer bots. llvm-svn: 247921
* Temporarily fix gcov failures in big-endian hosts.Diego Novillo2015-09-171-1/+1
| | | | | | | | | | This test uses a gcov file generated in a little-endian host. The gcov reader does not allow different endianness, so the test fails on big endian hosts. XFAILing for now. llvm-svn: 247920
* [SCEV] Use auto instead of full iterator type; NFCI.Sanjoy Das2015-09-171-2/+1
| | | | llvm-svn: 247919
* [SCEV] Don't repeat method/field names in comment in header; NFC.Sanjoy Das2015-09-171-288/+249
| | | | llvm-svn: 247918
* Remove unused includes from clang in DataFormatters.Bruce Mitchener2015-09-171-3/+0
| | | | | | | | | | Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12929 llvm-svn: 247916
* DataFormatters: Rename clang_type to compiler_type.Bruce Mitchener2015-09-175-23/+23
| | | | | | | | | | Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12930 llvm-svn: 247915
* Fix TestMiSymbol for gcc-4.9 test.Chaoren Lin2015-09-171-1/+1
| | | | llvm-svn: 247914
* [cmake] Build lldb-server on Darwin, set dep on FreeBSD.Bruce Mitchener2015-09-172-3/+4
| | | | | | | | | | | | | | | | | | Summary: This switches the decision as to whether or not to lldb-server should be built to check the same flag that was added that controls whether or not it is added as a dependency to the 'lldb' target. It also sets that flag on FreeBSD to maintain parity with the existing build configuration / situation on FreeBSD. Reviewers: labath, emaste, tfiala Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12925 llvm-svn: 247913
* [CMake] Add install-clang target to install just the clang executableChris Bieneman2015-09-171-1/+7
| | | | | | For the llvm-tools we're generating install-${tool} targets which are very useful. We should have one for clang too. llvm-svn: 247912
* Use a MapVector to output symbols in a deterministic order.Rafael Espindola2015-09-176-152/+168
| | | | | | | | | We used to sort the symbols at the very end, but we need to know the order earlier so that we can create reference to them in the dynamic relocations. Thanks to Igor Kudrin for pointing out the problem. llvm-svn: 247911
* Removed a needless cast to ClangExpressionVariable.Sean Callanan2015-09-171-1/+1
| | | | llvm-svn: 247910
* Updated the Xcode build to reflect lldb-mi's dependency on LLVM.Sean Callanan2015-09-171-21/+38
| | | | llvm-svn: 247909
* Fix LLDB RSP client to decode '$O' packets incorrectlyDawn Perchik2015-09-173-5/+21
| | | | | | | | | | | | Character with ASCII code 0 is incorrectly treated by LLDB as the end of RSP packet. The left of the debugger server output is silently ignored. Patch from evgeny.leviant@gmail.com Reviewed by: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12523 llvm-svn: 247908
* Do not use the assumed context in the dependence analysis any moreTobias Grosser2015-09-171-2/+0
| | | | | | | | | This information is implicitly available through the multi-dimensionality of memory accesses. This reduces compile time for 3mm from 430ms to 400ms and should generally benefit compile time for cases where the assumed context is complex. llvm-svn: 247907
* Model fixed-size multi-dimensional arrays if possible multi-dimensionalTobias Grosser2015-09-1712-115/+125
| | | | | | | | | If the GEP instructions give us enough insights, model scalar accesses as multi-dimensional (and generate the relevant run-time checks to ensure correctness). This will allow us to simplify the dependence computation in a subsequent commit. llvm-svn: 247906
* Fix the test case I just committedReid Kleckner2015-09-171-2/+2
| | | | llvm-svn: 247905
* [WinEH] Add and use hasEHPadSuccessor instead of getLandingPadSuccessorReid Kleckner2015-09-176-2/+128
| | | | | | | | | | | | getLandingPadSuccessor assumes that each invoke can have at most one EH pad successor, but WinEH invokes can have more than one. Two out of three callers of getLandingPadSuccessor don't use the returned landingpad, so we can make them use this simple predicate instead. Eventually we'll have to circle back and fix SplitKit.cpp so that register allocation works. Baby steps. llvm-svn: 247904
* Add sync-source.py utility.Todd Fiala2015-09-176-0/+634
| | | | | | | | | | | | See: http://reviews.llvm.org/D12940 for more details. See utils/sync-source/README.txt for documentation and a sample .sync-sourcerc file. llvm-svn: 247903
* Use the MSVC SEH personalities on MingwReid Kleckner2015-09-172-2/+14
| | | | | | | | Mingw generally wraps an old copy of msvcrt.dll which has these personalities, so things should work out, or so I hear. I haven't tested it. llvm-svn: 247902
* Test commit.Zia Ansari2015-09-171-1/+1
| | | | llvm-svn: 247901
* createOutputFile should set Error to something if it returns null.Douglas Katzman2015-09-171-1/+3
| | | | | | | This is not portably unit-testable because the only visible effect is a change from one random message string to another. llvm-svn: 247900
* [lldb-mi] Fix the handling of files in -data-info-line and -symbol-list-lines.Dawn Perchik2015-09-1713-58/+464
| | | | | | | | | | | | | This fixes -data-info-line and -symbol-list-lines to parse the filename and line correctly when line entries don't have the optional column number and the filename contains a Windows drive letter. It also fixes -symbol-list-lines when code from header files is generated. Reviewed by: abidh, ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12115 llvm-svn: 247899
* Revert "Function bitcode index in Value Symbol Table and lazy reading support"Teresa Johnson2015-09-175-340/+44
| | | | | | | | | | Temporarily revert to fix some buildbot issues. One is a minor issue with a variable unused in NDEBUG mode. More concerning are some test failures on win7 that I need to dig into. This reverts commit 4e66a74543459832cfd571db42b4543580ae1d1d. llvm-svn: 247898
* [mips] Add assembler support for the .cprestore directive.Daniel Sanders2015-09-177-13/+387
| | | | | | | | | | | | | | | | | | Summary: This assembler directive is used in O32 PIC to restore the current function's $gp after executing JAL's. The $gp is first stored on the stack at a user-specified offset. It has the following format: ".cprestore 8" (where 8 is the offset). This fixes llvm.org/PR20967. Patch by Toma Tabacu. Reviewers: seanbruno, tomatabacu Subscribers: brooks, seanbruno, emaste, llvm-commits Differential Revision: http://reviews.llvm.org/D6267 llvm-svn: 247897
* Fix doc build: sublists require a blank line before/after.Mehdi Amini2015-09-171-1/+2
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 247896
* Fix a typo.Adrian Prantl2015-09-171-1/+1
| | | | llvm-svn: 247895
* Function bitcode index in Value Symbol Table and lazy reading supportTeresa Johnson2015-09-175-44/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Support for including the function bitcode indices in the Value Symbol Table. This requires writing the VST after the function blocks, which in turn requires a new VST forward declaration record encoding the offset of the full VST (which is backpatched to contain the offset after the VST is written). This patch also enables the lazy function reader to use the new function indices out of the VST. This support will be used by ThinLTO as well, which will be in a follow on patch. Backwards compatibility with older bitcode files is maintained. A new test is also included. The bitcode format (used for the lazy reader as well as the upcoming ThinLTO patches) came out of discussions with Duncan and others and is described here: https://drive.google.com/file/d/0B036uwnWM6RWdnBLakxmeDdOeXc/view Reviewers: dexonsmith, davidxl, joker.eph Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12536 llvm-svn: 247894
* Extract function that derives the index expressions of a GEP instruction [NFC]Tobias Grosser2015-09-172-24/+86
| | | | | | | We currently use this functionality to add run-time assumptions that check its in-bound property. llvm-svn: 247893
* re-apply r.247881Asaf Badouh2015-09-173-3/+1128
| | | | | | fixed the tests. llvm-svn: 247892
* Refactor string encoding checks in BitcodeWriter (NFC)Teresa Johnson2015-09-171-14/+23
| | | | llvm-svn: 247891
* [clang-tidy] install helper scriptsAlexander Kornienko2015-09-172-0/+21
| | | | | | | | | | | | | | | | | | Scripts are installed in same location as clang-fromat ones, so I think will be good idea to not create dedicated directory. I checked this patch on my own build on RHEL 6. Please check it in if it's OK, because I don't have SVN write access. I think will be good idea to backport this patch to 3.7 release branch. Probably same should be done for configure build. Patch by Eugene Zelenko! Differential revision: http://reviews.llvm.org/D12700 llvm-svn: 247890
* Add a test to modernize-loop-convert.Angel Garcia Gomez2015-09-171-15/+9
| | | | | | | | | | | | Summary: Add the test about replacements in several arguments of the same macro call, now that the problem has been fixed. Reviewers: alexfh Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D12933 llvm-svn: 247889
OpenPOWER on IntegriCloud