summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [modules] Sometimes we can deserialize a class member but not have yetRichard Smith2015-01-2410-26/+100
| | | | | | | | | | | encountered any definition for the class; this happens when the definition is added by an update record that is not yet loaded. In such a case, eagerly pick the original parent of the member as the canonical definition of the class rather than muddling through with the canonical declaration (the latter can lead to us failing to merge properly later if the canonical definition turns out to be some other declaration). llvm-svn: 226977
* Fix the ELF shared library build targets - take 2Greg Fitzgerald2015-01-2443-164/+190
| | | | | | | | | | lldELF is used by each ELF backend. lldELF's ELFLinkingContext also held a reference to each backend, creating a link-time cycle. This patch moves the backend references to lldDriver. Differential Revision: http://reviews.llvm.org/D7119 llvm-svn: 226976
* [Orc] Add some missing headers to the CompileOnDemandLayer.hLang Hames2015-01-241-0/+3
| | | | llvm-svn: 226975
* [x86] Fix a commentBruno Cardoso Lopes2015-01-241-1/+1
| | | | llvm-svn: 226974
* [Orc] Add orcjit to the dependencies list in the Makefile for lli.Lang Hames2015-01-241-1/+1
| | | | | | This should fix a few more broken bots. llvm-svn: 226973
* ELF: Remove dead code.Rui Ueyama2015-01-231-22/+0
| | | | llvm-svn: 226972
* ELF: Remove virtual from non-overriden functions.Rui Ueyama2015-01-232-38/+36
| | | | | | If it's overridden by a derived class, add override to the derived class. llvm-svn: 226971
* R600/SI: Emit .hsa.version section for amdhsa OSTom Stellard2015-01-232-1/+15
| | | | llvm-svn: 226970
* Fix assertion when C++ EH filters are present in functions using SEHReid Kleckner2015-01-232-2/+23
| | | | | | Should fix PR22305. llvm-svn: 226969
* InstrProf: Use the stream when dumping countersJustin Bogner2015-01-231-1/+1
| | | | llvm-svn: 226968
* Address more review comments for DIExpression::iterator.Adrian Prantl2015-01-233-33/+44
| | | | | | | | - input_iterator - define an operator-> - make constructors private were possible llvm-svn: 226967
* Fix spelling.Rui Ueyama2015-01-232-2/+2
| | | | llvm-svn: 226966
* Remove extra parentheses.Rui Ueyama2015-01-231-1/+1
| | | | llvm-svn: 226965
* InstrProf: debug dumps should go to dbgs(), not outs()Justin Bogner2015-01-231-1/+2
| | | | llvm-svn: 226964
* [MachO] Remove dependency on lldDriverGreg Fitzgerald2015-01-234-28/+25
| | | | | | | | | Moved getMemoryBuffer from DarwnLdDriver to MachOLinkingContext. lldMachO shared library target now builds. Differential Review: http://reviews.llvm.org/D7155 llvm-svn: 226963
* Adding the ability to get the language from a mangled name. This isn't used ↵Greg Clayton2015-01-232-0/+34
| | | | | | in the SVN LLDB, but will be used in another codebase based on the SVN LLDB. llvm-svn: 226962
* llvm-cov: Don't use llvm::outs() in library codeJustin Bogner2015-01-233-46/+49
| | | | | | | Nothing in lib/ should be using llvm::outs() directly. Thread it in from the caller instead. llvm-svn: 226961
* llvm-cov: Use range-for (NFC)Justin Bogner2015-01-232-51/+34
| | | | llvm-svn: 226960
* Fixing TestRegisters on Linux with LLGSVince Harron2015-01-2310-8/+67
| | | | | | | | | | | | | | This patch fixes TestRegisters on Linux with LLGS Introduce GetUserRegisterCount on RegisterInfoInterface to distinguish lldb internal registers (e.g.: DR0-DR7) during register counting. Update GDBRemoteCommunicationServer to skip lldb internal registers on read/write register and on discover register. Submitted for Tamas Berghammer llvm-svn: 226959
* mips: Fix "XPASS" test results by removing 'not' commandsReid Kleckner2015-01-232-2/+2
| | | | | | | | | | | These tests are asserting and crashing for me, and 'not' sees that as a non-zero exit code instead of a signal code for obscure Windows reasons. This causes the test to pass, giving me an unclean 'ninja check'. The test is already XFAILd, so just run the test without 'not' and let lit handle the failure. llvm-svn: 226958
* Renamed UpdateSDKDirectoryInfosInNeeded->IfNeededVince Harron2015-01-232-8/+7
| | | | | | Also removed extra call to UpdateSDKDirectoryInfosIfNeeded llvm-svn: 226957
* fixed up some logging messages (options and wait_pid were swapped)Vince Harron2015-01-231-3/+3
| | | | llvm-svn: 226956
* DebugInfo: Remove outdated comment. Column info is no longer needed to ↵David Blaikie2015-01-231-6/+0
| | | | | | differentiate inline callsites. llvm-svn: 226955
* Disable warnings in an IRGen test to make test failures less noisyDavid Blaikie2015-01-231-2/+2
| | | | llvm-svn: 226954
* [x86] Combine x86mmx/i64 to v2i64 conversion to use scalar_to_vectorBruno Cardoso Lopes2015-01-235-9/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle the poor codegen for i64/x86xmm->v2i64 (%mm -> %xmm) moves. Instead of using stack store/load pair to do the job, use scalar_to_vector directly, which in the MMX case can use movq2dq. This was the current behavior prior to improvements for vector legalization of extloads in r213897. This commit fixes the regression and as a side-effect also remove some unnecessary shuffles. In the new attached testcase, we go from: pshufw $-18, (%rdi), %mm0 movq %mm0, -8(%rsp) movq -8(%rsp), %xmm0 pshufd $-44, %xmm0, %xmm0 movd %xmm0, %eax ... To: pshufw $-18, (%rdi), %mm0 movq2dq %mm0, %xmm0 movd %xmm0, %eax ... Differential Revision: http://reviews.llvm.org/D7126 rdar://problem/19413324 llvm-svn: 226953
* llvm-cov: clang-format the GCOV files (NFC)Justin Bogner2015-01-232-148/+195
| | | | llvm-svn: 226952
* [lld] Added REQUIRES lines to testsFilipe Cabecinhas2015-01-2317-0/+34
| | | | llvm-svn: 226951
* [lld] Re-add REQUIRES lineFilipe Cabecinhas2015-01-231-0/+2
| | | | | | Please don't remove REQUIRES lines when refreshing tests. llvm-svn: 226950
* Fix the MSVC build with the new Orc JIT APIsReid Kleckner2015-01-232-3/+9
| | | | llvm-svn: 226949
* [YAMLIO] Dirty hack: Force integral conversion to allow strong typedefs to ↵Michael J. Spencer2015-01-231-2/+3
| | | | | | convert. llvm-svn: 226948
* Get libc++ building on Sun Solaris. Patch from C Bergstrom.Eric Fiselier2015-01-235-296/+20
| | | | llvm-svn: 226947
* [Orc] Remove a bunch of constructors from ObjectLinkingLayer.Lang Hames2015-01-232-45/+11
| | | | | | | These constructors were causing trouble for MSVC and older GCCs. This should fix more of the build failures from r226940. llvm-svn: 226946
* R600/SI: Move i64 -> v2i32 load promotion into AMDGPUDAGToDAGISel::Select()Tom Stellard2015-01-233-3/+40
| | | | | | | | | | | We used to do this promotion during DAG legalization, but this caused an infinite loop in ExpandUnalignedLoad() because it assumed that i64 loads were legal if i64 was a legal type. It also seems better to report i64 loads as legal, since they actually are and we were just promoting them to simplify our tablegen files. llvm-svn: 226945
* Objective-C moderinzer [qoi], add space on rhs when needed whenFariborz Jahanian2015-01-233-0/+46
| | | | | | | converting to property-dot syntax for setters. rdar://19381786 llvm-svn: 226944
* [Object][ELF] Test unknown type.Michael J. Spencer2015-01-233-1/+12
| | | | llvm-svn: 226943
* [YAMLIO] Add support for numeric values in enums.Michael J. Spencer2015-01-232-0/+26
| | | | llvm-svn: 226942
* [Orc] LLVMLinkInOrcMCJITReplacement shouldn't be in the anonymous namespace.Lang Hames2015-01-231-1/+2
| | | | | | This should fix some of the builder errors from r226940. llvm-svn: 226941
* [Orc] New JIT APIs.Lang Hames2015-01-2329-8/+2428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new set of JIT APIs to LLVM. The aim of these new APIs is to cleanly support a wider range of JIT use cases in LLVM, and encourage the development and contribution of re-usable infrastructure for LLVM JIT use-cases. These APIs are intended to live alongside the MCJIT APIs, and should not affect existing clients. Included in this patch: 1) New headers in include/llvm/ExecutionEngine/Orc that provide a set of components for building JIT infrastructure. Implementation code for these headers lives in lib/ExecutionEngine/Orc. 2) A prototype re-implementation of MCJIT (OrcMCJITReplacement) built out of the new components. 3) Minor changes to RTDyldMemoryManager needed to support the new components. These changes should not impact existing clients. 4) A new flag for lli, -use-orcmcjit, which will cause lli to use the OrcMCJITReplacement class as its underlying execution engine, rather than MCJIT itself. Tests to follow shortly. Special thanks to Michael Ilseman, Pete Cooper, David Blaikie, Eric Christopher, Justin Bogner, and Jim Grosbach for extensive feedback and discussion. llvm-svn: 226940
* Move the accessor functions from DIExpression::iterator into a wrapperAdrian Prantl2015-01-233-21/+30
| | | | | | | | DIExpression::Operand, so we can write range-based for loops. Thanks to David Blaikie for the idea. llvm-svn: 226939
* [sanitizer] Update descriptor size for glibc 2.13.Sergey Matveev2015-01-231-0/+2
| | | | | | | | | See https://code.google.com/p/address-sanitizer/issues/detail?id=361 It's still not clear whether the values are correct in all cases, but at least this should unbreak our bots. llvm-svn: 226938
* lit: Make MCJIT's supported arch check case insensitiveReid Kleckner2015-01-233-4/+2
| | | | | | | | | Should make the tests run when using CMake on systems where 'uname -p' reports "amd64", such as FreeBSD. Should fix PR21559. llvm-svn: 226937
* Fix the problem with llvm-objdump and -archive-headers in printing the ↵Kevin Enderby2015-01-232-5/+5
| | | | | | | | archive header size field. This problem showed up with the clang-cmake-armv7-a15-full bot. Thanks to Renato Golin for his help. llvm-svn: 226936
* [mips] fix spelling of 'disassembler'Alexei Starovoitov2015-01-231-3/+3
| | | | | | trivial first commit llvm-svn: 226935
* LowerSwitch: replace unreachable default with popular case destinationHans Wennborg2015-01-233-65/+250
| | | | | | | | | | | | SimplifyCFG currently does this transformation, but I'm planning to remove that to allow other passes, such as this one, to exploit the unreachable default. This patch takes care to keep track of what case values are unreachable even after the transformation, allowing for more efficient lowering. Differential Revision: http://reviews.llvm.org/D6697 llvm-svn: 226934
* Fix CMake build - add readline dependency on ${PYTHON_LIBRARY}.Oleksiy Vyalov2015-01-231-0/+2
| | | | llvm-svn: 226933
* [Objdump] Output information about common symbols in a way closer to GNU ↵Colin LeMahieu2015-01-233-1/+14
| | | | | | objdump. llvm-svn: 226932
* [emacs] llvm-mode: fix parens, font-lock i*Ramkumar Ramachandra2015-01-231-10/+3
| | | | | | | | | | | | | | | | In llvm-mode, with electric-pair-mode turned on, typing a literal '[' would print out '[[', and '(' would print a '(('. This was a very annoying bug caused by overzealous syntax-table entries: the parens are already part of the '(' and ')' class by default. Fix this. While at it, notice that i32, i64, i1 etc. are not font-locked despite a clear intent to do so. The issue is that regexp-opt doesn't accept regular expressions. So, spell out the common literal integers with different widths. Differential Revision: http://reviews.llvm.org/D7036 llvm-svn: 226931
* clang-format: Fix another crasher caused by incomplete macro code.Daniel Jasper2015-01-232-5/+12
| | | | | | | | We did't properly mark all of an AnnotatedLine's children as finalized and thus would reformat the same tokens in different branches of #if/#else sequences leading to invalid replacements. llvm-svn: 226930
* [compiler-rt] Ensure AsanInitFromRtl is called from a static initializer on ↵Kuba Brecka2015-01-234-6/+83
| | | | | | | | | | | | | | | | | | | | OS X by using ASAN_DYNAMIC=1 The idea is to ensure that the ASan runtime gets initialized early (i.e. before other initializers/constructors) even when DYLD_INSERT_LIBRARIES is not used. In that case, the interceptors are not installed (on OS X, DYLD_INSERT_LIBRARIES is required for interceptors to work), and therefore ASan gets currently initialized quite late -- from the main executable's module initializer. The following issues are a consequence of this: https://code.google.com/p/address-sanitizer/issues/detail?id=363 https://code.google.com/p/address-sanitizer/issues/detail?id=357 Both of them are fixed with this patch. Reviewed at http://reviews.llvm.org/D7117 llvm-svn: 226929
* Revert " Fix the ELF shared library build targets"Greg Fitzgerald2015-01-2338-139/+162
| | | | | | This reverts commit 6a3f545b44cea46321e025d9ab773786af86cb51. llvm-svn: 226928
OpenPOWER on IntegriCloud