summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Sparc] Correct quad register list in the asm parser.Venkatraman Govindaraju2014-01-243-1/+13
| | | | | | Add test cases to check parsing of v9 double registers and their aliased quad registers. llvm-svn: 199974
* [ELF] Customize a relocation table output format (rel / rela).Simon Atanasyan2014-01-248-49/+138
| | | | | | | | | | Add new virtual virtual function `isRelaOutputFormat` to the `ELFLinkingContext` class. Call this function everywhere we need to select a relocation table format. Patch reviewed by Shankar Easwaran and Rui Ueyama. llvm-svn: 199973
* Add constants for optional header magic field.Rui Ueyama2014-01-241-0/+5
| | | | llvm-svn: 199972
* Simplify the logic for deciding when to initialize the sections.Rafael Espindola2014-01-248-24/+17
| | | | llvm-svn: 199971
* Update page on clang diagnostics to contrast to GCC 4.9 instead of 4.2. A lotRichard Smith2014-01-241-159/+124
| | | | | | of the differences we identified here have been fixed by improvements in GCC. llvm-svn: 199970
* Most streamers' InitSections just create a text section. Make that the defaultRafael Espindola2014-01-247-21/+6
| | | | llvm-svn: 199969
* Use the actual .text section, it is less code than building a dummy one.Rafael Espindola2014-01-241-25/+4
| | | | llvm-svn: 199968
* Inline trivial functions called only once or twice.Rafael Espindola2014-01-241-32/+14
| | | | llvm-svn: 199967
* [LPM] Fix a logic error in LICM spotted by inspection.Chandler Carruth2014-01-241-1/+1
| | | | | | | | | | | | We completely skipped promotion in LICM if the loop has a preheader or dedicated exits, but not *both*. We hoist if there is a preheader, and sink if there are dedicated exits, but either hoisting or sinking can move loop invariant code out of the loop! I have no idea if this has a practical consequence. If anyone has ideas for a test case, let me know. llvm-svn: 199966
* Inline functions that are only called once.Rafael Espindola2014-01-242-21/+8
| | | | llvm-svn: 199965
* Remove outdated documentation suggesting we don't support the C++1y lambda ↵Richard Smith2014-01-241-2/+0
| | | | | | extensions. llvm-svn: 199964
* [cleanup] Use the type-based preservation method rather than a stringChandler Carruth2014-01-241-1/+2
| | | | | | | literal that bakes a pass name and forces parsing it in the pass manager. llvm-svn: 199963
* PR18560: When switching to a new context, don't just save and restore anRichard Smith2014-01-243-2/+15
| | | | | | | override for the type of 'this', also clear it out (unless we're entering the context of a lambda-expression, where it should be inherited). llvm-svn: 199962
* Added reaper for commandline-launched processes.Todd Fiala2014-01-244-12/+110
| | | | | | | | | | | | | | | | | | GDBRemoteCommunicationServer::LaunchProcess () now uses the built-up ProcessLaunchArgs rather than clearing and setting items from the function arguments. I added setters for the arguments and launch flags, which lldb-gdbserver uses for its specification of the commandline-specified startup app (if one is specified). LaunchProcess () also adds a new reaper monitor that it applies to the launched process if no process monitor has already been applied. This addresses an issue where the 'k' command would generate (possibly false) warnings about not being able to positively state whether a killed process actually terminated. GDBRemoteCommunicationServer now definitely knows the disposition of its children. llvm-svn: 199959
* Add implementations of __readfs{byte,word,dword,qword} to Intrin.hHans Wennborg2014-01-241-0/+33
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D2606 llvm-svn: 199958
* Factor out repeated parsing of a member-declarator when parsing aRichard Smith2014-01-233-69/+87
| | | | | | | | | | member-declaration. In the process, fix a couple of bugs that had crept in where we would parse the first and subsequent member-declarators differently (in particular, we didn't accept an asm-label on a member function definition within a class, and we would accept virt-specifiers and attributes in the wrong order on the first declarator but not on subsequent ones). llvm-svn: 199957
* Fix debug build.Peter Collingbourne2014-01-231-4/+4
| | | | llvm-svn: 199956
* InitToTextSection is redundant with InitSections. Remove it.Rafael Espindola2014-01-2311-33/+2
| | | | llvm-svn: 199955
* Make the use of DW_AT_ranges in the compile unit depend also uponEric Christopher2014-01-232-5/+104
| | | | | | the existence of comdat/special sections. llvm-svn: 199954
* Don't copy entire value into m_data unless we need to. If we did this and ↵Greg Clayton2014-01-232-3/+6
| | | | | | the entire variable failed to be read, we wouldn't be able to display any actual values that were in good memory. This will also make things more efficient by not have every struct/union/class/array copy its entire value into a ValueObject.m_data even though no one was using it. llvm-svn: 199953
* Fixed a test suite exception that was cause by bad python (sys.unlink ↵Greg Clayton2014-01-231-1/+1
| | | | | | instead of os.unlink). llvm-svn: 199952
* Remove duplicated info on what .text, .data and .bss look like.Rafael Espindola2014-01-235-45/+15
| | | | llvm-svn: 199951
* Introduce Registry::getCompletions.Peter Collingbourne2014-01-235-98/+661
| | | | | | | | | | This returns a list of valid (and useful) completions for a context (a list of outer matchers), ordered by decreasing relevance then alphabetically. It will be used by the matcher parser to implement completion. Differential Revision: http://llvm-reviews.chandlerc.com/D2210 llvm-svn: 199950
* Thread safety analysis: handle duplicate assert_lock attributes.DeLesley Hutchins2014-01-232-0/+23
| | | | llvm-svn: 199949
* Update the X86 assembler for .intel_syntax to produce an error for invalid baseKevin Enderby2014-01-232-32/+55
| | | | | | | | | registers in memory addresses that do not match the index register. As it does for .att_syntax. rdar://15887380 llvm-svn: 199948
* lli: Factor portable messaging into a new RPCChannel facilityAlp Toker2014-01-239-168/+151
| | | | | | | The client and server now use a single unified low-level RPC core built around LLVM's existing cross-platform abstractions. llvm-svn: 199947
* Updated to latest and greatest demangler sources.Greg Clayton2014-01-231-1/+14
| | | | | | <rdar://problem/15736085> llvm-svn: 199946
* Move process launching into GDBRemoteCommunicationServer.Todd Fiala2014-01-233-48/+169
| | | | | | | | | | | | | | | | | | lldb-gdbserver was launching the commandline-specified launch process directly, without GDBRemoteCommunicationServer knowing anything about it. As GDBRemoteCommunicationServer is the piece that manages and knows about processes that the gdb remote protocol discusses with the client end, it is important that it know about launched processes. This change also implements the k gdb remote protocol message, having it kill all known spawned processes when it is received. (Note: in lldb-gdbserver, the spawned processes are not properly monitored yet. The response to the k packet will complain that spawned processes do not really appear to be getting killed even if they are. This will get addressed soon.) llvm-svn: 199945
* Don't need to figure out the frame's module if we don't have any librariesJim Ingham2014-01-231-10/+14
| | | | | | in the step-avoid-libraries list. llvm-svn: 199944
* Add a "step-avoid-libraries" setting to complement the "step-avoid-regexp" ↵Jim Ingham2014-01-234-5/+43
| | | | | | setting. llvm-svn: 199943
* Update the X86 assembler for .intel_syntax to produce an error for invalidKevin Enderby2014-01-232-3/+22
| | | | | | | | | | | scale factors in memory addresses. As it does for .att_syntax. It was producing: Assertion failed: (((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) && "Invalid scale!"), function CreateMem, file /Volumes/SandBox/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp, line 1133. rdar://14967214 llvm-svn: 199942
* Use .p2align instead of .alignNick Kledzik2014-01-232-4/+4
| | | | llvm-svn: 199941
* Fix out of bounds access to the double regs array. Given theEric Christopher2014-01-231-1/+1
| | | | | | | code this looks correct, but could use review. The previous was definitely not correct. llvm-svn: 199940
* Added the ability to get the type that a typedef points to via:Greg Clayton2014-01-238-1/+75
| | | | | | | | | | SBType SBType::GetTypedefedType(); Also added the ability to get a type by type ID from a SBModule: SBType SBModule::GetTypeByID (lldb::user_id_t uid); llvm-svn: 199939
* Add a few missing cases from r199933. Testcase coming shortly.Lang Hames2014-01-231-0/+8
| | | | llvm-svn: 199938
* Added a new lldb command that can parse all struct and class types for one ↵Greg Clayton2014-01-231-1/+14
| | | | | | or more shared libraries. llvm-svn: 199937
* Updating the getting started guide for Visual Studio a smidge.Aaron Ballman2014-01-231-8/+4
| | | | llvm-svn: 199934
* Replace vfmaddxx213 instructions with their 231-type equivalents in accumulatorLang Hames2014-01-234-3/+122
| | | | | | | loops. Writing back to the accumulator (231-type) allows the coalescer to eliminate an extra copy. llvm-svn: 199933
* Note the PR number.Rafael Espindola2014-01-231-0/+1
| | | | llvm-svn: 199932
* Remove unused include following r199929Alp Toker2014-01-231-1/+0
| | | | llvm-svn: 199930
* Replace the interim lli build fix with something cleanerAlp Toker2014-01-235-45/+15
| | | | | | | | | | Eliminates the LLI_BUILDING_CHILD build hack from r199885. Also add a FIXME to remove code that tricks the tests into passing when the feature fails to work. Please don't do stuff like this, the tests exist for a reason! llvm-svn: 199929
* [Thumbv8] Fix the value of BLXOperandIndex of isV8EligibleForITWeiming Zhao2014-01-234-7/+26
| | | | | | | | | Originally, BLX was passed as operand #0 in MachineInstr and as operand #2 in MCInst. But now, it's operand #2 in both cases. This patch also removes unnecessary FileCheck in the test case added by r199127. llvm-svn: 199928
* Move test to x86 directory.Eric Christopher2014-01-231-0/+0
| | | | llvm-svn: 199927
* Add target analysis passes to the codegen pipeline for MCJIT.Juergen Ributzka2014-01-2310-4/+30
| | | | | | | | | | | This patch adds the target analysis passes (usually TargetTransformInfo) to the codgen pipeline. We also expose now the AddAnalysisPasses method through the C API, because the optimizer passes would also benefit from better target-specific cost models. Reviewed by Andrew Kaylor llvm-svn: 199926
* [AArch64] Added vselect patterns with float and double typesAna Pazos2014-01-232-0/+17
| | | | llvm-svn: 199925
* Avoid emitting a DWARF type attribute for an ObjC property of typeEric Christopher2014-01-232-1/+106
| | | | | | | | void. Patch by Scott Talbot. llvm-svn: 199924
* Intrin.h: fix definitions of _Interlocked{In,De}crement16Hans Wennborg2014-01-231-4/+4
| | | | | | | The declarations seem correct, but the definitions were using chars instead of shorts. llvm-svn: 199923
* Suppress an annoying "unused variable" warning caused by bug 17897.Rui Ueyama2014-01-231-0/+1
| | | | | | | | Clang says that "flow" is unused when building LLD. This patch suppresses it. Differential Revision: http://llvm-reviews.chandlerc.com/D2573 llvm-svn: 199922
* R600: Remove successive JUMP in AnalyzeBranch when AllowModify is trueTom Stellard2014-01-231-1/+7
| | | | | | | | | | | | This fixes a crash in the OpenCV OpenCL test suite. There is no lit test for this, because the test would be very large and could easily be invalidated by changes to the scheduler or other parts of the compiler. Patch by: Vincent Lejeune llvm-svn: 199919
* R600: Disable the BFE patternTom Stellard2014-01-233-1/+12
| | | | | | | | | | This pattern uses an SDNodeXForm, which isn't being emitted for some reason. I can get it to work by attaching the PatLeaf that has the XForm to the argument in the output pattern, but this results in an immediate being used in a register operand, which the backend can't handle yet. llvm-svn: 199918
OpenPOWER on IntegriCloud