summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use an AttrBuilder to generate the correct AttributeSet.Bill Wendling2013-01-293-24/+24
| | | | | | | | | We no longer accept an encoded integer as representing all of the attributes. Convert this via the AttrBuilder class into an AttributeSet with the correct representation (an AttributeSetImpl that holds a list of Attribute objects). llvm-svn: 173750
* Actually remove the hack which was blocking the Borland-style attributes fromRichard Smith2013-01-293-12/+9
| | | | | | | working, and add the missing attribute spellings. This brings _pascal, _fastcall, _stdcall and _cdecl to life in -fborland-extensions mode. llvm-svn: 173749
* <rdar://problem/12890171>Enrico Granata2013-01-294-11/+41
| | | | | | | | Providing a compact display mode for "po" to use where the convenience variable name and the pointer value are both hidden. This is for convenience when dealing with ObjC instances where the description often gets it right and the debugger-provided information is not useful to most people. If you need either of these, "expr" will still show them. llvm-svn: 173748
* Don't crash while printing APValues that are lvalues casted to aDouglas Gregor2013-01-292-0/+15
| | | | | | decidedly non-reference, non-pointer type. Fixes <rdar://problem/13090123>. llvm-svn: 173747
* Replace AS_MSTypespec with AS_Keyword, for representing any attribute spelledRichard Smith2013-01-2910-63/+77
| | | | | | | | | as a keyword. Rationalize existing attributes to use it as appropriate, and to not lie about some __declspec attributes being GNU attributes. In passing, remove a gross hack which was discarding attributes which we could handle. This results in us actually respecting the __pascal keyword again. llvm-svn: 173746
* <rdar://problem/12524607>Greg Clayton2013-01-293-4/+33
| | | | | | | | | | | Flush the process when symbols are loaded/unloaded manually. This was going on in: - "target modules load" command - SBTarget::SetSectionLoadAddress(...) - SBTarget::ClearSectionLoadAddress(...) - SBTarget::SetModuleLoadAddress(...) - SBTarget::ClearModuleLoadAddress(...) llvm-svn: 173745
* Abstract the behavior of when to use base-class tail padding.John McCall2013-01-293-8/+100
| | | | | | | For fun, I added a comedy "actually obey the C++11 POD rules" option which nobody is allowed to use. llvm-svn: 173744
* [ELF] Give Chunk a ELFTargetInfo.Michael J. Spencer2013-01-296-85/+59
| | | | llvm-svn: 173743
* Convert the AttrBuilder into a list of Attributes instead of one Attribute ↵Bill Wendling2013-01-291-2/+15
| | | | | | object that holds all of its attributes. llvm-svn: 173742
* [ELF] Remove OwningPtr from the Chunk::write interface.Michael J. Spencer2013-01-295-49/+36
| | | | llvm-svn: 173741
* [ELF] Clean up doxygen comments.Michael J. Spencer2013-01-291-11/+10
| | | | llvm-svn: 173740
* Formatting correctionAndrew Kaylor2013-01-291-2/+1
| | | | llvm-svn: 173739
* S'more small non-functional changes in comments and #includes.Bill Wendling2013-01-292-12/+8
| | | | llvm-svn: 173738
* Describe the data formatters as part of the architectureEnrico Granata2013-01-291-0/+18
| | | | llvm-svn: 173734
* Reorder some functions and add comments. No functionality change.Bill Wendling2013-01-293-389/+394
| | | | llvm-svn: 173733
* Adding a Makefile. Hopefully that will make the Linux buildbot happyEnrico Granata2013-01-291-0/+25
| | | | llvm-svn: 173732
* Fixed a "wchar_t" typo.Greg Clayton2013-01-291-2/+2
| | | | llvm-svn: 173731
* Unroll again after running BBVectorizeHal Finkel2013-01-291-0/+4
| | | | | | | | Because BBVectorize may significantly shorten a loop body, unroll again after vectorization. This is especially important when using runtime or partial unrolling. llvm-svn: 173730
* Add isBGQ method to PPCSubtargetHal Finkel2013-01-291-0/+2
| | | | | | This function will be used in future commits. llvm-svn: 173729
* <rdar://problem/12978143>Enrico Granata2013-01-2854-3216/+3686
| | | | | | | | | | | Data formatters now cache themselves. This commit provides a new formatter cache mechanism. Upon resolving a formatter (summary or synthetic), LLDB remembers the resolution for later faster retrieval. Also moved the data formatters subsystem from the core to its own group and folder for easier management, and done some code reorganization. The ObjC runtime v1 now returns a class name if asked for the dynamic type of an object. This is required for formatters caching to work with the v1 runtime. Lastly, this commit disposes of the old hack where ValueObjects had to remember whether they were queried for formatters with their static or dynamic type. Now the ValueObjectDynamicValue class works well enough that we can use its dynamic value setting for the same purpose. llvm-svn: 173728
* Finish semantic analysis for [[carries_dependency]] attribute.Richard Smith2013-01-2812-37/+171
| | | | | | | | | | This required plumbing through a new flag to determine whether a ParmVarDecl is actually a parameter of a function declaration (as opposed to a function typedef etc, where the attribute is prohibited). Weirdly, this attribute (just like [[noreturn]]) cannot be applied to a function type, just to a function declaration (and its parameters). llvm-svn: 173726
* Try to appease some broken compilers by using 'unsigned' instead of 'uint64_t'.Bill Wendling2013-01-283-25/+22
| | | | llvm-svn: 173725
* Always define types from stdint.h so they are always available for use in ↵Greg Clayton2013-01-281-12/+26
| | | | | | | | | | | | | | | | | | | | expressions no matter what debug info you have. Types added are: int8_t uint8_t int16_t uint16_t int32_t uint32_t int64_t uint64_t intptr_t uintptr_t size_t ptrdiff_t whar_t llvm-svn: 173724
* Avoid Unnecessary BuildsDavid Greene2013-01-281-33/+73
| | | | | | | | By default, stop the universe build if a key component fails. This avoids useless builds when we know a package is broken anyway. Provide a --keep-going option to override this behavior. llvm-svn: 173723
* Remove the AttributeWithIndex class.Bill Wendling2013-01-283-111/+85
| | | | | | | The AttributeWithIndex class exposed the interior structure of the AttributeSet class. That was gross. Remove it and all of the code that relied upon it. llvm-svn: 173722
* Add a comment mentioning that InstructionSimplify routines do,Dan Gohman2013-01-281-0/+6
| | | | | | in fact, resolve undef uses. llvm-svn: 173721
* FileCheck'ize testsDmitri Gribenko2013-01-283-27/+46
| | | | llvm-svn: 173720
* docs: reorganize front page slightlySean Silva2013-01-281-4/+4
| | | | llvm-svn: 173718
* FileCheck'ize a testDmitri Gribenko2013-01-281-2/+4
| | | | llvm-svn: 173717
* Migrate a test to -verifyDmitri Gribenko2013-01-281-8/+3
| | | | llvm-svn: 173716
* [driver] Revise this test to remove the dependency on the integrate assembler.Chad Rosier2013-01-281-17/+15
| | | | llvm-svn: 173715
* FileCheck'ize and merge testsDmitri Gribenko2013-01-282-6/+9
| | | | llvm-svn: 173714
* Undo my re-wording of the "ARC forbids Objective-C objects in ..."Douglas Gregor2013-01-284-8/+8
| | | | | | error. Jordan is right. llvm-svn: 173713
* Add support for source and line information to IntelJITEventListener for ↵Andrew Kaylor2013-01-289-313/+354
| | | | | | object emitted by MCJIT. llvm-svn: 173712
* Fix gcc/printf/ISO C++ warningEdwin Vane2013-01-281-1/+5
| | | | | | | | | | | | Remove the use of the 't' length modifier to avoid a gcc warning. Based on usage, 32 bits of precision is good enough for printing a stack offset for a stack trace. 't' length modifier isn't in C++03 but it *is* in C++11. Added a FIXME to reintroduce once LLVM makes the switch to C++11. Reviewer: gribozavr llvm-svn: 173711
* add register section, remove contentType from sectionKeyShankar Easwaran2013-01-282-46/+106
| | | | llvm-svn: 173709
* Forbid the use of objects in unions in Objective-C++ ARC. FixesDouglas Gregor2013-01-284-39/+38
| | | | | | <rdar://problem/13098104>. llvm-svn: 173708
* Enable the global module index by default. Introduce theDouglas Gregor2013-01-284-8/+8
| | | | | | | | -fno-modules-global-index -cc1 option to allow one to disable the index for performance testing purposes, but with a 10% win in -fsyntax-only time, there is no reason a user would do this. llvm-svn: 173707
* This patch addresses bug 15031.Bill Schmidt2013-01-283-9/+396
| | | | | | | | | | | | | | | | | | | | | | The common code in the post-RA scheduler to break anti-dependencies on the critical path contained a flaw. In the reported case, an anti-dependency between the overlapping registers %X4 and %R4 exists: %X29<def> = OR8 %X4, %X4 %R4<def>, %X3<def,dead,tied3> = LBZU 1, %X3<kill,tied1> The unpatched code breaks the dependency by replacing %R4 and its uses with %R3, the first register on the available list. However, %R3 and %X3 overlap, so this creates two overlapping definitions on the same instruction. The fix is straightforward, preventing selection of a register that overlaps any other defined register on the same instruction. The test case is reduced from the bug report, and verifies that we no longer produce "lbzu 3, 1(3)" when breaking this anti-dependency. llvm-svn: 173706
* ASTReader and profiling statistics indicate that implementing a methodDouglas Gregor2013-01-282-23/+15
| | | | | | | pool in the global module index is not worthwhile. Update comments to limit the scope of the global module index to identifiers. llvm-svn: 173705
* Tests: remove disabled llvm-gcc invocationsDmitri Gribenko2013-01-288-8/+0
| | | | llvm-svn: 173703
* Add some more ASTReader statistics for global method pool lookups.Douglas Gregor2013-01-282-10/+38
| | | | llvm-svn: 173702
* PR15067 (again): Don't warn about UCNs in C90 if we're raw-lexing.Jordan Rose2013-01-282-1/+5
| | | | | | Fixes a crash. Thanks, Richard. llvm-svn: 173701
* Fix comment.Eric Christopher2013-01-281-1/+1
| | | | llvm-svn: 173700
* Fix comment.Eric Christopher2013-01-281-1/+1
| | | | llvm-svn: 173698
* FileCheck'ize and merge testsDmitri Gribenko2013-01-282-7/+11
| | | | llvm-svn: 173697
* FileCheck'ize testDmitri Gribenko2013-01-281-5/+9
| | | | llvm-svn: 173696
* Fix a bug that would lead to bad line break decisions in for loops.Daniel Jasper2013-01-282-6/+18
| | | | | | | | | | | | | | Before: for (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaa = aaaaaaaaaaaaaaa .aaaaaaaaaaaaaaaa; aaaaaaaaaaa != aaaaaaaaaaaaaaaaaaa; ++aaaaaaaaaaa) {} After: for (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaa = aaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaa; aaaaaaaaaaa != aaaaaaaaaaaaaaaaaaa; ++aaaaaaaaaaa) {} llvm-svn: 173695
* Use the correct order of NOINLINE vs ret type to fix Windows buildTimur Iskhodzhanov2013-01-281-7/+7
| | | | llvm-svn: 173694
* Back out r173689. It doesn't matter when we're building with Clang anyway.Douglas Gregor2013-01-281-7/+0
| | | | llvm-svn: 173693
OpenPOWER on IntegriCloud