summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused parameter.Rafael Espindola2013-09-261-17/+17
| | | | llvm-svn: 191433
* [Sparc] Implements exception handling in SPARC with DwarfCFI.Venkatraman Govindaraju2013-09-265-4/+138
| | | | llvm-svn: 191432
* Implements parsing and emitting of .cfi_window_save in MC.Venkatraman Govindaraju2013-09-269-2/+112
| | | | llvm-svn: 191431
* Fix the partial backtrace in a recursive inferior compiled with ↵Ashok Thirumurthi2013-09-262-17/+2
| | | | | | | | | | | | -fomit-frame-pointer. - Removes the block in UnwindLLDB::AddOneMoreFrame that tests for a bad stack setup, since it is neither correct (tests the FP GPR), complete (doesn't consider multi-frame cycles), nor reachable (the construction of RegisterContextLLDB will fail in the case where either of the two (why just two?) previous frames have the same canonical frame address as the frame that we propose adding to the stack). llvm-svn: 191430
* Ignore some -f options that are supported by gcc.Rafael Espindola2013-09-262-0/+54
| | | | | | | It is possible that we should say some of these are unsupported, but this is not any worse than the old behavior of ignoring all unknown -f options. llvm-svn: 191429
* [ARM] Use the load-acquire/store-release instructions optimally in AArch32.Amara Emerson2013-09-2612-372/+1896
| | | | | | Patch by Artyom Skrobov. llvm-svn: 191428
* Remove tabs.Benjamin Kramer2013-09-261-91/+91
| | | | llvm-svn: 191427
* PPC: Allow partial fills in writeNopData()David Majnemer2013-09-262-5/+11
| | | | | | | | | | | | | | | | | | When asked to pad an irregular number of bytes, we should fill with zeros. This is consistent with the behavior specified in the AIX Assembler Language Reference as well as other LLVM and binutils assemblers. N.B. There is a small deviation from binutils' PPC assembler: when handling pads which are greater than 4 bytes but not mod 4, binutils will not emit any NOP sequences at all and only use zeros. This may or may not be a bug but there is no excellent rationale as to why that behavior is important to emulate. If that behavior is needed, we can change writeNopData() to behave in the same way. This fixes PR17352. llvm-svn: 191426
* Add links to cross-compilation docs from getting startedRenato Golin2013-09-261-0/+4
| | | | llvm-svn: 191425
* Fix buildbot breakage.Richard Smith2013-09-261-4/+4
| | | | llvm-svn: 191424
* Added temp flag -misched-bench for staging in default changes.Andrew Trick2013-09-265-4/+22
| | | | llvm-svn: 191423
* whitespaceAndrew Trick2013-09-261-2/+2
| | | | llvm-svn: 191422
* PPC: Do not introduce ISD nodes for fctid and fctiwDavid Majnemer2013-09-263-8/+6
| | | | llvm-svn: 191421
* Replace a bool with an enum for clarity, based on review comment from James ↵Richard Smith2013-09-262-8/+11
| | | | | | Dennett. llvm-svn: 191420
* PPC: Add support for fctid and fctiwDavid Majnemer2013-09-264-8/+20
| | | | | | | | | Encodings were checked against the Power ISA documents and double checked against binutils. This fixes PR17350. llvm-svn: 191419
* If a partial specialization of a member template is declared within a classRichard Smith2013-09-263-5/+40
| | | | | | | | | template and defined outside it, don't instantiate it twice when instantiating the surrounding class template specialization. That would cause us to reject the code because we think two partial specializations instantiated to produce the same signature. llvm-svn: 191418
* Implement C++1y digit separator proposal (' as a digit separator). This is notRichard Smith2013-09-267-13/+107
| | | | | | yet approved by full committee, but was unanimously supported by EWG. llvm-svn: 191417
* [OPENMP] Improved variable lookup procedure for threadprivate variables.Alexey Bataev2013-09-264-8/+51
| | | | llvm-svn: 191416
* [mips][msa] Direct Object Emission for 3R instructions.Jack Carter2013-09-264-330/+1122
| | | | | | | | This is the first set of instructions with a ".b" modifier thus we need to add the required code to disassemble a MSA128B register class. Patch by Matheus Almeida llvm-svn: 191415
* [mips][msa] Updates encoding of 3R instructions to match the latest revision ↵Jack Carter2013-09-261-9/+9
| | | | | | | | | | | of the MSA spec (1.06). Internal changes only. Patch by Matheus Almeida llvm-svn: 191414
* [mips][msa] Direct Object Emission for 2RF instructions.Jack Carter2013-09-252-41/+126
| | | | | | Patch by Matheus Almeida llvm-svn: 191413
* [mips][msa] Direct Object Emission support for the MSA instruction set. Jack Carter2013-09-256-8/+247
| | | | | | | | | | In more detail, this patch adds the ability to parse, encode and decode MSA registers ($w0-$w31). The format of 2RF instructions (MipsMSAInstrFormat.td) was updated so that we could attach a test case to this patch i.e., the test case parses, encodes and decodes 2 MSA instructions. Following patches will add the remainder of the instructions. Note that DecodeMSA128BRegisterClass is missing from MipsDisassembler.td because it's not yet required at this stage and having it would cause a compiler warning (unused function). Patch by Matheus Almeida llvm-svn: 191412
* [mips][msa] Updates encoding of 2RF instructions to match the latest ↵Jack Carter2013-09-251-4/+4
| | | | | | | | | | | | revision of the MSA spec (1.06). This only changes internal encodings and doesn't affect output. Patch by Matheus Almeida llvm-svn: 191411
* Fix PR 17368: disable vector mul distribution for square of add/sub for ARMWeiming Zhao2013-09-252-0/+21
| | | | | | | | | | | | | | | | | | | | Generally, it is desirable to distribute (a + b) * c to a*c + b*c for ARM with VMLx forwarding, where a, b and c are vectors. However, for (a + b)*(a + b), distribution will result in one extra instruction. With distribution: x = a + b (add) y = a * x (mul) z = y + b * y (mla) Without distribution: x = a + b (add) z = x * x (mul) This patch checks if a mul is a square of add/sub. If yes, skip distribution. llvm-svn: 191410
* Add gnu pubsections as options to llvm-dwarfdump.Eric Christopher2013-09-251-0/+2
| | | | | | Argument spelling feedback welcome. llvm-svn: 191409
* Dump the normal dwarf pubtypes section as well.Eric Christopher2013-09-254-20/+31
| | | | llvm-svn: 191408
* Unify pubsection/gnu pubsection printing.Eric Christopher2013-09-252-33/+29
| | | | llvm-svn: 191407
* Provide inline definitions of _Unwind_GetIP etc. for ARM in unwind.hHans Wennborg2013-09-251-3/+35
| | | | | | | | | | | These symbols were showing up as undefined when trying to link programs on Android. We should match libgcc's behaviour and provide inline definitions of these on ARM. It seems unwind.h on ARM/Darwin doesn't provide inline definitions, so we just declare them for that platform. llvm-svn: 191406
* Remove unused param from MicrosoftMangle::mangleCallingConvention()Reid Kleckner2013-09-251-4/+3
| | | | llvm-svn: 191405
* Update NumTypeBits on Type to match the actual number of used bits.Mark Lacey2013-09-251-1/+1
| | | | llvm-svn: 191404
* [ELF] Fix use after free.Michael J. Spencer2013-09-252-16/+17
| | | | llvm-svn: 191403
* Test commit. Removed trailing whitespace.Josh Magee2013-09-251-1/+1
| | | | llvm-svn: 191402
* Slight formatting change for pubnames/pubtypes output.Eric Christopher2013-09-251-3/+3
| | | | llvm-svn: 191401
* Fix a bad typo in the inline assembly code for mips16 pic fp stubsReed Kotler2013-09-253-15/+36
| | | | | | | and make one cosmetic cleanup to make it look the same as gcc in this area; adjusting test cases. llvm-svn: 191400
* Changed fuzz tests to not print their values (we only need to test if access ↵Richard Mitton2013-09-2513-18/+18
| | | | | | | | to them does not crash). This fixes the 'No value' string appearing in the dotest results. llvm-svn: 191399
* Added a simple legend to the unit test 'dots' output, to aid understandability.Richard Mitton2013-09-251-0/+5
| | | | llvm-svn: 191398
* Make the guard for external ABI libraries include the guard forChandler Carruth2013-09-251-2/+2
| | | | | | | | libsupc++ in typeinfo.cpp, bringing it into agreement with exception.cpp. This fixes link errors due to duplicate symbols from this translation unit. llvm-svn: 191397
* Enable tests affected by llvm.org/pr14637Daniel Malea2013-09-254-4/+0
| | | | | | - to verify that r191392 has the desired effect llvm-svn: 191396
* ObjectiveC: Handle the case of qualifying protocolsFariborz Jahanian2013-09-254-0/+54
| | | | | | | | | declared in a typedef declaraton used as super class of an ObjC class. Curretnly, these protocols are dropped from the class hierarchy. Test shows that it is now included. // rdar://15051465 llvm-svn: 191395
* Produce an error for unknown -f options.Rafael Espindola2013-09-253-7/+6
| | | | llvm-svn: 191394
* Teach DAGCombiner how to canonicalize dags according to the ruleAndrea Di Biagio2013-09-252-0/+201
| | | | | | | | | | | | (shl (zext (shr A, X)), X) => (zext (shl (shr A, X), X)). The rule only triggers when there are no other uses of the zext to avoid materializing more instructions. This helps the DAGCombiner understand that the shl/shr sequence can then be converted into an and instruction. llvm-svn: 191393
* Fixed a race condition where the prompt would randomly go missing.Richard Mitton2013-09-252-2/+43
| | | | | | | | | | el_gets was using fflush to output it's string, but because we have our own filter running on the piped pty output, fflush only causes the prompt to be written into the pipe, and does not cause the filter code to run immediately. The simplest fix is to manually block and wait for all editline output to be processed. This fixes PR 14637. llvm-svn: 191392
* Mark the x86 machine model as incomplete. PR17367.Andrew Trick2013-09-256-5/+35
| | | | | | | | | | | | Ideally, the machinel model is added at the time the instructions are defined. But many instructions in X86InstrSSE.td still need a model. Without this workaround the scheduler asserts because x86 already has itinerary classes for these instructions, indicating they should be modeled by the scheduler. Since we use the new machine model for other instructions, it expects a new machine model for these too. llvm-svn: 191391
* When using va_list, include cstdarg/stdarg.h.Joerg Sonnenberger2013-09-253-0/+3
| | | | llvm-svn: 191390
* editline headers are under readline/ for NetBSD.Joerg Sonnenberger2013-09-251-1/+1
| | | | llvm-svn: 191389
* si_errno and friends are macros on NetBSD, so #undef them first.Joerg Sonnenberger2013-09-251-0/+4
| | | | llvm-svn: 191388
* NetBSD also has a size field in socket addresses.Joerg Sonnenberger2013-09-251-2/+2
| | | | llvm-svn: 191387
* arpa/inet.h is the canonical source of htons and friends.Joerg Sonnenberger2013-09-251-0/+1
| | | | | | At least on NetBSD, none of the already included headers pulls it in. llvm-svn: 191386
* Handle ePathTypePythonDir even in the case of LLDB_DISABLE_PYTHON,Joerg Sonnenberger2013-09-251-2/+5
| | | | | | otherwise -Werror builds may fail. llvm-svn: 191385
* Undefine NetBSD, it may have been defined by an earlier include ofJoerg Sonnenberger2013-09-251-0/+1
| | | | | | sys/param.h. llvm-svn: 191384
OpenPOWER on IntegriCloud