summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ms-inline asm] Use mnemonicIsValid() in a helpful assert.Chad Rosier2012-09-211-0/+2
| | | | llvm-svn: 164421
* [ms-inline asm] Expose the mnemonicIsValid() function in the AsmParser.Chad Rosier2012-09-216-2/+22
| | | | llvm-svn: 164420
* Have the DbgVariable "isArtificial" and "isObjectPointer" notEric Christopher2012-09-212-5/+5
| | | | | | | | | | | | care about it being an argument variable so that we can decide that captured block and lambda vars that don't happen to be arguments could be an argument pointer. Add the object pointer for one case onto the subprogram die. rdar://12001329 llvm-svn: 164419
* Mark the passed in "self" for a block as an object pointer soEric Christopher2012-09-211-3/+9
| | | | | | | | | that the backend can mark it as the representative pointer for the block. rdar://12001329 llvm-svn: 164418
* Fix build errors.Argyrios Kyrtzidis2012-09-211-2/+4
| | | | llvm-svn: 164417
* [AST importer] Do a correct import of a FunctionProtoType::ExtProtoInfo, ↵Argyrios Kyrtzidis2012-09-211-0/+3
| | | | | | | | | | don't pass nodes from the imported ASTContext. rdar://12348924 llvm-svn: 164416
* Add comment.Chad Rosier2012-09-211-1/+2
| | | | llvm-svn: 164415
* Add comment.Chad Rosier2012-09-211-1/+2
| | | | llvm-svn: 164414
* Fix installheaders target to do what it did prior to r161760. rdar://12348765Bob Wilson2012-09-211-0/+9
| | | | llvm-svn: 164413
* objective-C: when diagnosing deprecated/unavailable usage ofFariborz Jahanian2012-09-2110-12/+143
| | | | | | | setter or getter backing a deprecated/unavailable property, also not location of the property. // rdar://12324295 llvm-svn: 164412
* Call CGM.SetLLVMFunctionAttributesForDefinition on thunks so that they getRafael Espindola2012-09-212-2/+19
| | | | | | | attributes like uwtable. Without uwtable a stack unwinder would be unable to go past the thunks. llvm-svn: 164411
* Add four new command line options for MIPS CPU selection:Simon Atanasyan2012-09-214-2/+71
| | | | | | | | -mips32, -mips32r2, -mips64, -mips64r2. The patch reviewed by Eric Christopher. llvm-svn: 164410
* Fix a typo in the PCH internals documentationDouglas Gregor2012-09-211-1/+1
| | | | llvm-svn: 164409
* Fix a significant recent(?) regression. StackSlotColoring no longer did anythingEvan Cheng2012-09-214-3/+10
| | | | | | | | | because LiveStackAnalysis was not preserved by VirtRegWriter. This caused big stack usage regression in some cases. rdar://12340383 llvm-svn: 164408
* docs: Fix long-standing typo in yaml2obj.rst.Sean Silva2012-09-211-2/+2
| | | | llvm-svn: 164407
* Whitespace.Chad Rosier2012-09-211-2/+2
| | | | llvm-svn: 164406
* Rename class __lambda to __lambda_node to avoid clash with gcc. This fixes ↵Howard Hinnant2012-09-211-3/+3
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=13889 llvm-svn: 164405
* Tweak use of dlopen to be a little more correct and higher performing.Howard Hinnant2012-09-211-1/+1
| | | | llvm-svn: 164404
* Initial commit of a new testsuite feature: test categories.Enrico Granata2012-09-2114-5/+123
| | | | | | | | | | | | | | | | | | | | | | | This feature allows us to group test cases into logical groups (categories), and to only run a subset of test cases based on these categories. Each test-case can have a new method getCategories(self): which returns a list of strings that are the categories to which the test case belongs. If a test-case does not provide its own categories, we will look for categories in the class that contains the test case. If that fails too, the default implementation looks for a .category file, which contains a comma separated list of strings. The test suite will recurse look for .categories up until the top level directory (which we guarantee will have an empty .category file). The driver dotest.py has a new --category <foo> option, which can be repeated, and specifies which categories of tests you want to run. (example: ./dotest.py --category objc --category expression) All tests that do not belong to any specified category will be skipped. Other filtering options still exist and should not interfere with category filtering. A few tests have been categorized. Feel free to categorize others, and to suggest new categories that we could want to use. All categories need to be validly defined in dotest.py, or the test suite will refuse to run when you use them as arguments to --category. In the end, failures will be reported on a per-category basis, as well as in the usual format. This is the very first stage of this feature. Feel free to chime in with ideas for improvements! llvm-svn: 164403
* Say "bytes" instead of "address units", since that's what theDan Gohman2012-09-211-5/+5
| | | | | | rest of LangRef uses. llvm-svn: 164402
* Experiment in BodyFarm of structuring AST creation calls in a hierarchy,Ted Kremenek2012-09-211-12/+21
| | | | | | so that they visually look like an AST dump. llvm-svn: 164401
* Create helper method in BodyFarm for creating simple assignments.Ted Kremenek2012-09-211-4/+12
| | | | llvm-svn: 164400
* Add helper method in BodyFarm to create unary dereferences.Ted Kremenek2012-09-211-8/+11
| | | | llvm-svn: 164399
* Document the new !tbaa.struct metadata.Dan Gohman2012-09-211-0/+39
| | | | llvm-svn: 164398
* Add helper method to BodyFarm for creating lvalue-to-rvalue conversions.Ted Kremenek2012-09-211-9/+12
| | | | llvm-svn: 164397
* Add helper method to BodyFarm for creatinging integral casts.Ted Kremenek2012-09-211-2/+10
| | | | llvm-svn: 164396
* Add missing 'to' and rephrase an explanation of GCC's assumptions.David Blaikie2012-09-211-4/+4
| | | | | | Wordsmithing by Matt Beaumont-Gay in response to r164389. llvm-svn: 164395
* Thread-safety analysis: better handling of unreachable blocks. Fixes a bugDeLesley Hutchins2012-09-212-23/+35
| | | | | | | where a call to function marked 'noreturn' is followed by unreachable implicit destructor calls. llvm-svn: 164394
* Re-enable faux-bodies by default.Ted Kremenek2012-09-211-1/+1
| | | | | | Try this again, now that r164392 is in place. llvm-svn: 164393
* Use helper method to create DeclRefExprs in BodyFarm, hopefully allevatingTed Kremenek2012-09-211-20/+34
| | | | | | them being correctly constructed. llvm-svn: 164392
* Add some structuring comments. No functionality change.Ted Kremenek2012-09-211-1/+9
| | | | llvm-svn: 164391
* Update comment.Chad Rosier2012-09-211-1/+1
| | | | llvm-svn: 164390
* Document "do not use defaults in covered switch-over-enum" coding standard.David Blaikie2012-09-211-0/+18
| | | | llvm-svn: 164389
* LoopIdiom: Give up when the loop is not in canonical form.Benjamin Kramer2012-09-212-0/+39
| | | | | | | | | We rely on it when doing the transforms. This can happen when there is an indirectbr in the loop. Fixes PR13892. llvm-svn: 164383
* Use MapVectors to make the order we mark virtual functions used by a vtableRafael Espindola2012-09-211-4/+4
| | | | | | deterministic. Fixes pr13868. llvm-svn: 164382
* [fast-isel] Fallback to SelectionDAG isel if we require strict alignment forChad Rosier2012-09-212-0/+42
| | | | | | | non-aligned i32 loads/stores. rdar://12304911 llvm-svn: 164381
* Full KDP process control with per CPU resume and step.Greg Clayton2012-09-212-126/+129
| | | | llvm-svn: 164378
* InstCombine: Make sure we use the pre-zext type when creating a constant of ↵Benjamin Kramer2012-09-212-1/+16
| | | | | | | | a value that is zext'd. Fixes PR13250. llvm-svn: 164377
* Bailout if libpluto finds no scheduleTobias Grosser2012-09-211-0/+3
| | | | | | | Older versions of libpluto crashed, if no schedule was found. Recent versions return NULL. We detect this and keep the original schedule. llvm-svn: 164376
* Update for encapsulating the "construct*AlignmentFromInt" methods.Bill Wendling2012-09-212-2/+2
| | | | llvm-svn: 164374
* Encapsulate the "construct*AlignmentFromInt" functions.Bill Wendling2012-09-213-29/+29
| | | | llvm-svn: 164373
* Fix a typo in r164357Michael Liao2012-09-211-8/+8
| | | | llvm-svn: 164372
* Clarify comment.Dmitri Gribenko2012-09-211-1/+1
| | | | llvm-svn: 164371
* Make the 'get*AlignmentFromAttr' functions into member functions within the ↵Bill Wendling2012-09-215-29/+31
| | | | | | Attributes class. Now with fix. llvm-svn: 164370
* BitcodeReader: Correctly insert blockaddress constant referring to a already ↵Benjamin Kramer2012-09-212-6/+37
| | | | | | | | | | | | parsed function. We inserted a placeholder that was never replaced because the function was already visited. Assert that all placeholders have been resolved when tearing down the bitcode reader. Fixes PR13895. llvm-svn: 164369
* Revert r164364, "Flip "faux-bodies" in the analyzer on by default to flush ↵NAKAMURA Takumi2012-09-211-1/+1
| | | | | | | | out bugs." It crashed test/Analysis/Output/blocks.m on some hosts. llvm-svn: 164368
* [Sanitizer] llvm-symbolizer: enable accessing symbol table (libObject is ↵Alexey Samsonov2012-09-211-20/+17
| | | | | | fixed in r164365) and replace string with std::string llvm-svn: 164367
* Make warnings about uninitialized fields include the field name.Hans Wennborg2012-09-216-40/+38
| | | | | | | | | | | This makes the wording more informative, and consistent with the other warnings about uninitialized variables. Also, me and David who reviewed this couldn't figure out why we would need to do a lookup to get the name of the variable; so just print the name directly. llvm-svn: 164366
* Fix SymbolRef::getAddress implementation for ELF. The 'value' field in ↵Alexey Samsonov2012-09-214-10/+39
| | | | | | symbol table entry should be treated differently for relocatable and relocated files. This patch fixes symbol addresses printed by llvm-nm for executables and shared objects. llvm-svn: 164365
* Flip "faux-bodies" in the analyzer on by default to flush out bugs.Ted Kremenek2012-09-211-1/+1
| | | | llvm-svn: 164364
OpenPOWER on IntegriCloud