summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor lock versions of binary operators to be a little lessEric Christopher2011-05-101-73/+83
| | | | | | cut and paste. llvm-svn: 131139
* Reimplement Sema::MatchTemplateParametersToScopeSpecifier() based onDouglas Gregor2011-05-106-154/+448
| | | | | | | | | | | | | | | | | | the semantic context referenced by the nested-name-specifier rather than the syntactic form of the nested-name-specifier. The previous incarnation was based on my complete misunderstanding of C++ [temp.expl.spec]. The latest C++0x working draft clarifies the requirements here, and this rewrite is intended to follow that. Along the way, improve source location information in the diagnostics. For example, if we report that a specific type needs or doesn't need a 'template<>' header, we dig out that type in the nested-name-specifier and highlight its range. Fixes: PR5907, PR9421, PR8277, PR8708, PR9482, PR9668, PR9877, and <rdar://problem/9135379>. llvm-svn: 131138
* First cut at getting debugging support for ARM/MC/ELF/.oJason W Kim2011-05-101-1/+0
| | | | | | | DWARF stuff also gets fixed up by ELFARMAsmBackend::ApplyFixup(), but the offset is not guaranteed to be mod 4 == 0 as in text/data. llvm-svn: 131137
* Downgrade a tablegen warning to an error.Jakob Stoklund Olesen2011-05-101-3/+2
| | | | | | | Ambiguous sub-register index compositions are OK as long as the backend writer knows what he is doing. llvm-svn: 131134
* Fix PR9883. Make sure all caches are invalidated when a live range is repaired.Jakob Stoklund Olesen2011-05-104-4/+8
| | | | | | | | The previous invalidation missed the alias interference caches. Also add a stats counter for the number of repaired ranges. llvm-svn: 131133
* Don't strlen() every file before parsing it.Eli Friedman2011-05-101-1/+2
| | | | llvm-svn: 131132
* In a debug_frame the cfi offset is to the start of the debug_frame section!Rafael Espindola2011-05-102-9/+9
| | | | llvm-svn: 131129
* PTX: add test cases for cvt, fneg, and selpJustin Holewinski2011-05-103-0/+274
| | | | | | Patch by Dan Bailey llvm-svn: 131128
* Add test for PR9884.Rafael Espindola2011-05-101-0/+17
| | | | llvm-svn: 131127
* Revert 131114. This fixes PR9884.Rafael Espindola2011-05-103-12/+9
| | | | llvm-svn: 131126
* Add CFIStartSections to the asm printer. Add an assert that at leastRafael Espindola2011-05-102-0/+20
| | | | | | one of the sections is created. llvm-svn: 131124
* PTX: add PTX 2.3 setting in PTX sub-target.Justin Holewinski2011-05-102-0/+4
| | | | | | Patch by Wei-Ren Chen llvm-svn: 131123
* Add support for producing .deubg_frame sections.Rafael Espindola2011-05-105-47/+111
| | | | llvm-svn: 131121
* Small cleanups.Rafael Espindola2011-05-101-8/+5
| | | | llvm-svn: 131120
* Factor some code into a new EmitFrames method.Rafael Espindola2011-05-105-6/+14
| | | | llvm-svn: 131119
* Remove unused argument.Rafael Espindola2011-05-101-12/+4
| | | | llvm-svn: 131118
* Parsing and plumbing for .cfi_sections.Rafael Espindola2011-05-103-1/+47
| | | | llvm-svn: 131117
* Fixes compilation with Visual Studio by replacing the non-standard ↵Manuel Klimek2011-05-101-2/+2
| | | | | | vector::data() access. llvm-svn: 131116
* Further implement defaulting constructors.Alexis Hunt2011-05-105-152/+245
| | | | | | | | | | | | | Focus is on default constructors for the time being. Currently the exception specification and prototype are processed correctly. Codegen might work but in all likelihood doesn't. Note that due to an error, out-of-line defaulting of member functions is currently impossible. It will continue to that until I muster up the courage to admit that I secretly pray to epimetheus and that I need to rework the way default gets from Parse -> Sema. llvm-svn: 131115
* The last of the trivial constructor changes, make CXXSpecialMemberAlexis Hunt2011-05-103-9/+12
| | | | | | reflect our new, more accurate AST. llvm-svn: 131114
* Add a __uuidof test where the uuid attribute is on the second declaration. Francois Pichet2011-05-101-7/+17
| | | | | | Also some -fdelayed-template-parsing test refactoring. llvm-svn: 131113
* Preserve line number information.Devang Patel2011-05-101-0/+1
| | | | llvm-svn: 131112
* Add TestExprs2.py for recent check-ins related to the 'expression' subsystem.Johnny Chen2011-05-091-0/+66
| | | | llvm-svn: 131111
* Make sure writing asynchronous output only backs upCaroline Tice2011-05-096-1/+50
| | | | | | | & overwrites prompt if the IOChannel input reader is the top input reader. llvm-svn: 131110
* Ignore const/volatile/restrict qualifiers on anonymous structs andDouglas Gregor2011-05-094-5/+55
| | | | | | unions. Fixes PR8326. llvm-svn: 131109
* Add a FIXME.Francois Pichet2011-05-091-0/+1
| | | | llvm-svn: 131108
* Do not ignore InlinedAt while walking up scope chain to find subprogram node. Devang Patel2011-05-091-1/+8
| | | | llvm-svn: 131106
* Fixed a bug in which expression-local variables wereSean Callanan2011-05-096-20/+110
| | | | | | | | | | treated as being permanently resident in target memory. In fact, since the expression's stack frame is deleted and potentially re-used after the expression completes, the variables need to be treated as being freeze-dried. llvm-svn: 131104
* 'long long' requires special treatment in ms_structFariborz Jahanian2011-05-092-1/+21
| | | | | | structs (impacts 32-bit only though). llvm-svn: 131103
* Extend the tag-ambiguity hack I committed in r130810 for tagDouglas Gregor2011-05-092-4/+13
| | | | | | definitions to also include tag declarations. Fixes PR8151. llvm-svn: 131102
* Clean up trivial default constructors now.Alexis Hunt2011-05-098-30/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | hasTrivialDefaultConstructor() really really means it now. Also implement a fun standards bug regarding aggregates. Doug, if you'd like, I can un-implement that bug if you think it is truly a defect. The bug is that non-special-member constructors are never considered user-provided, so the following is an aggregate: struct foo { foo(int); }; It's kind of bad, but the solution isn't obvious - should struct foo { foo (int) = delete; }; be an aggregate or not? Lastly, add a missing initialization to FunctionDecl. llvm-svn: 131101
* Add a test case test_process_info_with_no_arg(self) to 'class ↵Johnny Chen2011-05-091-0/+5
| | | | | | | | PlatformCommandTestCase' for http://llvm.org/viewvc/llvm-project?rev=131089&view=rev. llvm-svn: 131100
* When determining whether we need to instantiate a function type,Douglas Gregor2011-05-092-0/+28
| | | | | | | also consider whether any of the parameter types (as written, prior to decay) are dependent. Fixes PR9880 and <rdar://problem/9408413>. llvm-svn: 131099
* Check architectures to make sure that we can build for all of themEric Christopher2011-05-091-4/+17
| | | | | | | | before we try to. Patch by Patrick Walton! llvm-svn: 131098
* Revert some unintended project changes from my last checkin.Greg Clayton2011-05-092-15/+6
| | | | llvm-svn: 131097
* While implementing unwind information using UnwindAssemblyInstEmulation I ranGreg Clayton2011-05-0939-1803/+2610
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into some cleanup I have been wanting to do when reading/writing registers. Previously all RegisterContext subclasses would need to implement: virtual bool ReadRegisterBytes (uint32_t reg, DataExtractor &data); virtual bool WriteRegisterBytes (uint32_t reg, DataExtractor &data, uint32_t data_offset = 0); There is now a new class specifically designed to hold register values: lldb_private::RegisterValue The new register context calls that subclasses must implement are: virtual bool ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) = 0; virtual bool WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) = 0; The RegisterValue class must be big enough to handle any register value. The class contains an enumeration for the value type, and then a union for the data value. Any integer/float values are stored directly in an appropriate host integer/float. Anything bigger is stored in a byte buffer that has a length and byte order. The RegisterValue class also knows how to copy register value bytes into in a buffer with a specified byte order which can be used to write the register value down into memory, and this does the right thing when not all bytes from the register values are needed (getting a uint8 from a uint32 register value..). All RegiterContext and other sources have been switched over to using the new regiter value class. llvm-svn: 131096
* Tidy up. 80-column and whitespace.Jim Grosbach2011-05-093-72/+73
| | | | llvm-svn: 131094
* Look through struct wrapped types for inline asm statments.Eric Christopher2011-05-092-0/+12
| | | | | | Patch by Evan Cheng. llvm-svn: 131093
* Updated type_traits and the type_traits design doc with recent work done in ↵Howard Hinnant2011-05-092-41/+67
| | | | | | clang. llvm-svn: 131090
* Fix the wrong error message for "platform process info", i.e., with no ↵Johnny Chen2011-05-091-2/+2
| | | | | | pid(s) specified for the command. llvm-svn: 131089
* Change a few std::maps to DenseMaps.Dan Gohman2011-05-092-7/+7
| | | | llvm-svn: 131088
* Rename "hasTrivialConstructor" to "hasTrivialDefaultConstructor" andAlexis Hunt2011-05-0917-72/+95
| | | | | | | modify the semantics slightly to accomodate default constructors (I hope). llvm-svn: 131087
* Fix td file comments for Mips.Eric Christopher2011-05-093-3/+7
| | | | | | Patch by Liu <proljc@gmail.com>! llvm-svn: 131086
* Fixed MC encoding for index_align for VLD1/VST1 (single element from one ↵Mon P Wang2011-05-095-2/+61
| | | | | | lane) for size 32 llvm-svn: 131085
* Driver/Darwin: Put dsymutil -o arguments first, so that dysmutil doesn't barfDaniel Dunbar2011-05-092-5/+5
| | | | | | | when POSIXLY_COMPLIANT is set. - Patch by Dave Vasilevsky! llvm-svn: 131084
* Indent properly, no functionality change.Duncan Sands2011-05-091-12/+12
| | | | llvm-svn: 131082
* Fixed an issue with the MacOSX backchain register context where the pc wasGreg Clayton2011-05-091-1/+1
| | | | | | being returned for both the PC and FP. llvm-svn: 131081
* __builtin_va_list is void* on ARM, not char*.John McCall2011-05-092-1/+6
| | | | | | rdar://problem/9391966 llvm-svn: 131080
* Change an unconditional log to a conditional one.Jim Ingham2011-05-091-2/+2
| | | | llvm-svn: 131079
* Eliminate an unused line to fix a warning.NAKAMURA Takumi2011-05-081-1/+0
| | | | llvm-svn: 131078
OpenPOWER on IntegriCloud