summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [libclang] Tweak internals of CXSourceLocation to allow an alternate ↵Ted Kremenek2011-10-311-75/+111
| | | | | | | | implementation if the lowest bit of ptr_data[0] is not 0. This is prep for work on serialized diagnostics. llvm-svn: 143373
* Revert 143359 and modify the test case to not include non-valid c identifier ↵Johnny Chen2011-10-312-2/+9
| | | | | | character. llvm-svn: 143372
* The IRDynamicChecks subsystem was not properlySean Callanan2011-10-313-1/+38
| | | | | | | | detecting Objective-C method calls because the "lldb.call.realName" metadata was no longer being correctly installed. I fixed this problem. llvm-svn: 143371
* [libclang] Move implementation of functions for manipulation ↵Ted Kremenek2011-10-313-226/+271
| | | | | | CXSourceLocations and CXSourceRanges into a separate file. llvm-svn: 143370
* ARM VST1 w/ writeback assembly parsing and encoding.Jim Grosbach2011-10-315-59/+168
| | | | llvm-svn: 143369
* [libclang] Add CXDiagnosticImpl to represent a super class for the ↵Ted Kremenek2011-10-314-93/+238
| | | | | | | | implementation backing a CXDiagnostic. This allows CXStoredDiagnostic to be just one possible implementation of a CXDiagnostic. llvm-svn: 143368
* Revert r143342. Caching of code-completion results was intentionally placed ↵Argyrios Kyrtzidis2011-10-311-6/+6
| | | | | | | | | | | | in "reparse" because we don't want to take this performance hit when doing code completion Log of r143342: Move caching of code-completion results from ASTUnit::Reparse to ASTUnit::CodeComplete, so that it will happen when we are doing code-completion, not reparsing. llvm-svn: 143367
* Update 'Getting Started' to suggest using GCC 4.2 or higher (or Clang). ↵Ted Kremenek2011-10-311-3/+2
| | | | | | There is no reason to support older versions of GCC. llvm-svn: 143366
* Added instruction how to add a builder to docs.Galina Kistanova2011-10-312-0/+122
| | | | llvm-svn: 143365
* Add missing lvalue-to-rvalue conversion.Eli Friedman2011-10-312-0/+9
| | | | llvm-svn: 143364
* Refactoring and test for r143360. Support for array rvalue to pointer decay isRichard Smith2011-10-312-3/+9
| | | | | | needed for C++11, and will follow later. llvm-svn: 143363
* <rdar://problem/10368163>Greg Clayton2011-10-311-2/+15
| | | | | | | | Fixed an issue where if a mach-o symbol table was corrupt and had a string table offset that is invalid, we could crash. We now properly check the string table offset and ignore any symbols with invalid strings. llvm-svn: 143362
* Add bench entries.Johnny Chen2011-10-311-0/+19
| | | | llvm-svn: 143361
* Temporary fix for assert while evaluating array-to-pointer decay on arrayRichard Smith2011-10-311-1/+3
| | | | | | rvalue. Test and better fix to follow. llvm-svn: 143360
* Fix the r143266 check-in which broke TestCommandRegex.py.Johnny Chen2011-10-311-7/+0
| | | | llvm-svn: 143359
* Cleanup. Document. Make sure that this build_vector optimization only runs ↵Nadav Rotem2011-10-311-16/+29
| | | | | | before the op legalizer and that the used type is legal. llvm-svn: 143358
* ARM writeback vs. stride operands for VST/VLD.Jim Grosbach2011-10-311-239/+240
| | | | | | | The _fixed variants have a writeback operand, but not a stride operand. Split the conditional flag to distinguish the cases. llvm-svn: 143356
* Add a Python script to invoke each test file under the test root using a ↵Johnny Chen2011-10-311-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | separate process. Example: [11:33:09] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dosep.ty -o "-v -n" dotest.py options: -v -n Running /Volumes/data/lldb/svn/trunk/test/dotest.py -v -n -p TestPublicAPIHeaders.py /Volumes/data/lldb/svn/trunk/test/api/check_public_api_headers 1: test_sb_api_directory (TestPublicAPIHeaders.SBDirCheckerCase) Test the SB API directory and make sure there's no unwanted stuff. ... ok ---------------------------------------------------------------------- Ran 1 test in 4.404s OK Running /Volumes/data/lldb/svn/trunk/test/dotest.py -v -n -p TestEmulations.py /Volumes/data/lldb/svn/trunk/test/arm_emulation 1: test_arm_emulations (TestEmulations.ARMEmulationTestCase) ... ok 2: test_thumb_emulations (TestEmulations.ARMEmulationTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 1.399s OK ... llvm-svn: 143355
* Improve text of a diagnostic. Fariborz Jahanian2011-10-314-10/+10
| | | | llvm-svn: 143353
* Move test to the X86 directory, note the PR number and only run MC once.Rafael Espindola2011-10-312-6/+3
| | | | llvm-svn: 143352
* More not-crashing NEON disassembly updates for the vld refactoring.Owen Anderson2011-10-312-0/+6
| | | | llvm-svn: 143351
* In x86_64, when calling an Objective-C method that returns a _Complex long ↵Anders Carlsson2011-10-318-2/+87
| | | | | | double, make sure to use the objc_msgSend_fp2ret function which ensures that the return value will be {0, 0} if the receiver is nil. llvm-svn: 143350
* docs/*.html: Fix markups.NAKAMURA Takumi2011-10-314-11/+9
| | | | llvm-svn: 143349
* docs/*.html: Appease W3C Checker to add "charset=utf-8".NAKAMURA Takumi2011-10-3118-1/+19
| | | | llvm-svn: 143348
* Add possibility to specify an include location for createFileIDForMemBuffer().Axel Naumann2011-10-311-2/+3
| | | | | | Useful to set up a virtual include hierarchy, e.g. to order diagnostics for ambiguous overloads from MemoryBuffers. llvm-svn: 143347
* Simplify the set of directories we look for on multiarch systems.Chandler Carruth2011-10-311-8/+2
| | | | | | | | I don't have any Debian system with one of these currently, and it seems unlikely for one to show up suddenly. We can add more patterns here if they become necessary. llvm-svn: 143346
* Add "just one more" include path to the monstrosity that is our headerChandler Carruth2011-10-311-0/+1
| | | | | | | | | | | search logic. The Debian multiarch seems to have completely changed from when these were originally added, and I'd like to remove a bunch of them, but I'll be lazy and delay that until this logic is hoisted into the driver where it belongs. This should resolve PR11223. llvm-svn: 143345
* Fix part of PR11223 and probably a few dups as well. This teaches theChandler Carruth2011-10-311-4/+42
| | | | | | | | | | | | | | | | | | library search logic to "properly" handle multiarch installations. I've tested this on both Debian unstable and the latest Ubuntu which both use this setup, and this appears to work largely the same way as GCC does. It isn't exactly the same, but it is close enough and more principled in its behavior where it differs. This should resolve any failures to find 'crt1.o' etc on Debian-based Linux distributions. If folks find more cases where we fail, please file bugs and CC me. Test cases for all of the debian silliness are waiting both to simplify the process of merging these down into the 3.0 release, and because they're so crazy I haven't yet been able to really produce a fake tree that represents what we need to test for. I'll eventually add them though. llvm-svn: 143344
* Fix the source range for ObjCInterfaces that are forward decls.Argyrios Kyrtzidis2011-10-311-0/+6
| | | | llvm-svn: 143343
* Move caching of code-completion results from ASTUnit::Reparse to ↵Argyrios Kyrtzidis2011-10-311-6/+6
| | | | | | | | ASTUnit::CodeComplete, so that it will happen when we are doing code-completion, not reparsing. llvm-svn: 143342
* [PCH] Now that we store the location of a decl outside its recordArgyrios Kyrtzidis2011-10-317-13/+58
| | | | | | make sure that we keep track of locations of replaced decls as well. llvm-svn: 143341
* [PCH] For ASTReader's FileDeclIDs also associate the Module that theArgyrios Kyrtzidis2011-10-312-2/+12
| | | | | | local DeclIDs came from. llvm-svn: 143340
* Introduce SourceManager::isLocalFileID/isLoadedFileID functions.Argyrios Kyrtzidis2011-10-311-0/+11
| | | | llvm-svn: 143339
* Have the ASTUnit associate the local declarations that get parsed with the fileArgyrios Kyrtzidis2011-10-312-12/+98
| | | | | | that contains them. llvm-svn: 143338
* [libclang] Rename VisitIncludedPreprocessingEntries -> VisitIncludedEntitiesArgyrios Kyrtzidis2011-10-311-10/+10
| | | | llvm-svn: 143337
* Fix operand type for int_x86_ssse3_phadd_sw_128 intrinsicCraig Topper2011-10-312-6/+6
| | | | llvm-svn: 143336
* C++11 generalized constant expression handling: evaluation support forRichard Smith2011-10-312-46/+105
| | | | | | materialized temporaries. llvm-svn: 143335
* C++11 generalized constant expressions: evaluate equality comparisons betweenRichard Smith2011-10-312-40/+56
| | | | | | arbitrary pointers, if those pointers don't point to weak objects or literals. llvm-svn: 143334
* Test case for X86 FS/GS Base intrinsicsCraig Topper2011-10-311-0/+57
| | | | llvm-svn: 143332
* Begin adding AVX2 instructions. No selection support yet other than intrinsics.Craig Topper2011-10-313-146/+920
| | | | llvm-svn: 143331
* cindex.py: Remove more ternary operator + whitespace fixesTobias Grosser2011-10-311-6/+11
| | | | | | | Another batch of ternary operators and some whitespace fixes (Getting in sync with the clang_complete version of this file) llvm-svn: 143330
* C++11 generalized constant expressions: support pointer comparisons where theRichard Smith2011-10-312-40/+99
| | | | | | result is not unspecified. llvm-svn: 143329
* Close <div> that was indenting the rest of the page.Nick Lewycky2011-10-311-0/+3
| | | | llvm-svn: 143328
* Turn on the new .file directive when appropriate, instead of turning it off.Nick Lewycky2011-10-311-2/+2
| | | | llvm-svn: 143327
* Switch new .file directive emission off by default, change llc's flag for it toNick Lewycky2011-10-313-6/+6
| | | | | | -enable-dwarf-directory. llvm-svn: 143326
* clang.py: Remove use of ternary operatorsTobias Grosser2011-10-311-2/+9
| | | | | | This change is necessary to make this file python 2.4 compatible. llvm-svn: 143324
* When running tests, prepend our LibDir to the user's SHLIBPATH_VARPeter Collingbourne2011-10-311-1/+1
| | | | | | instead of replacing it. llvm-svn: 143323
* cindex.py: Allow to create a cursor from file/row/columnTobias Grosser2011-10-312-1/+29
| | | | | | | We add a constructor to create a SourceLocation from a position in a file and we use this SourceLocation to retrieve a cursor. llvm-svn: 143322
* cindex.py: Add File.create_from_name()Tobias Grosser2011-10-312-0/+24
| | | | llvm-svn: 143321
* Fix assert on constant expression evaluation of floating point increment.Richard Smith2011-10-302-7/+4
| | | | llvm-svn: 143320
OpenPOWER on IntegriCloud