summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Two more tests for PR13207 - wrong mangling of templates with back ↵Timur Iskhodzhanov2012-06-271-4/+14
| | | | | | references [-cxx-abi microsoft] llvm-svn: 159296
* Propagate lvalue alignment into bitfields. Per report on cfe-dev.Eli Friedman2012-06-277-32/+46
| | | | llvm-svn: 159295
* tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtimeDmitry Vyukov2012-06-2712-102/+114
| | | | llvm-svn: 159294
* objective-c mrc: Issue warning for mrc, as is done for arc, whenFariborz Jahanian2012-06-272-2/+3
| | | | | | | property retains a block object as it could be on the stack. // rdar://11761511 llvm-svn: 159293
* Refactoring after r159290: don't hold onto and check a misleading QualType.Richard Smith2012-06-271-4/+3
| | | | llvm-svn: 159292
* Fixed the "target modules list" to not crash in Debug builds due to an ↵Greg Clayton2012-06-271-2/+4
| | | | | | assertion where the mutex in the "module_list" local variable would assert when the lldb_private::Mutex would destruct. What was happening was the mutex in the module list was being locked by a local locker object and then "module_list" would get destroyed before the locker and the locker still had the mutex locked which would cause the pthread call to destroy the mutex to fail with "Resource busy" and it would cause a mutex leak. llvm-svn: 159291
* Check for non-POD vararg argument type after default argument promotion, notRichard Smith2012-06-272-2/+8
| | | | | | before, so we don't incorrectly think arguments of function type are non-POD. llvm-svn: 159290
* Modify the ranges_access() helper function to be able to lookup the address ↵Greg Clayton2012-06-271-0/+4
| | | | | | | | range in a block given an address. Since blocks can have multiple discontiguous ranges, it helps to be able to get the current address range for the current block in a frame. This can be used in code like: curr_block_range = lldb.frame.block.range[lldb.frame.addr] llvm-svn: 159289
* Fixed the get_process_thread_list function to correctly return a list of all ↵Greg Clayton2012-06-271-1/+1
| | | | | | threads in a process. llvm-svn: 159288
* Make the IsValid() operator for SBLineEntry "do the right thing" by ↵Greg Clayton2012-06-271-1/+1
| | | | | | returning true if the line entry is valid, not just if the opaque pointer to lldb_private::LineEntry is non NULL. llvm-svn: 159287
* Added a "save_crashlog" command to the lldb.macosx.crashlog package that ↵Greg Clayton2012-06-271-1/+81
| | | | | | allow you to dump your current process state out to a crash log file. This will dump all of the target module information with all load addresses, UUID values, and shared library paths, as well as all thread stacks and the crash log header. This will make it easy for us to save the current state of a process and then reload it later into LLDB. llvm-svn: 159286
* Fix the copy constructor and assignement operator for ModuleList to be ↵Greg Clayton2012-06-271-2/+7
| | | | | | thread safe. llvm-svn: 159285
* Check the return status of the make command.Greg Clayton2012-06-271-2/+3
| | | | llvm-svn: 159284
* Remove dependency on internal header file.Greg Clayton2012-06-271-4/+72
| | | | llvm-svn: 159283
* patch to suggest 'static' function should be 'static inline' Fariborz Jahanian2012-06-274-3/+30
| | | | | | | when it appears to be unused and occurs in a header. // rdar://11202617 llvm-svn: 159282
* Refactor and speed up DFA generator.Anshuman Dasgupta2012-06-271-21/+48
| | | | | | Patch by Ivan Llopard! llvm-svn: 159281
* Implement John McCall's review of r159212 other than the this pointer notRafael Espindola2012-06-274-16/+12
| | | | | | being updated. Will fix that in a second. llvm-svn: 159280
* Fix a crash I introduced in r159212.Rafael Espindola2012-06-273-1/+15
| | | | llvm-svn: 159279
* tsan: remember and pass original ucontext to signal handlers (instead of a ↵Dmitry Vyukov2012-06-271-5/+4
| | | | | | fabricated one) llvm-svn: 159278
* Make a way to set the result status for Python defined commands, and don't ↵Jim Ingham2012-06-274-1/+25
| | | | | | | | overwrite the status of the result if the python command has set it. llvm-svn: 159273
* Revert r159136 due to PR13124.Matt Beaumont-Gay2012-06-273-31/+0
| | | | | | | | | | | Original commit message: If a constant or a function has linkonce_odr linkage and unnamed_addr, mark it hidden. Being linkonce_odr guarantees that it is available in every dso that needs it. Being a constant/function with unnamed_addr guarantees that the copies don't have to be merged. llvm-svn: 159272
* Remove unsigned and a pointer from a comment token (so that each token can ↵Dmitri Gribenko2012-06-273-52/+67
| | | | | | have only one semantic string value attached to it), at a cost of adding an additional token. llvm-svn: 159270
* Comment lexer: counting backwards from token end is thought to be confusing. ↵Dmitri Gribenko2012-06-271-14/+20
| | | | | | We already have a pointer to the beginning of the token, so use it to extract the text instead. llvm-svn: 159269
* When users ask for -mcpu=help or -mattr=help, just output the help withoutDuncan Sands2012-06-271-13/+23
| | | | | | | | requiring a module. Original patch by Sunay Ismail, simplified by Arnaud de Grandmaison, then complicated by me (if a triple was specified on the command line, output help for that triple, not for the default). llvm-svn: 159268
* Add a test for unterminated /* comments.Dmitri Gribenko2012-06-271-0/+13
| | | | llvm-svn: 159267
* tsan: refactor signal handling code (move some definitions out of common header)Dmitry Vyukov2012-06-273-35/+66
| | | | llvm-svn: 159266
* Some reassociate optimizations create new instructions, which they insert justDuncan Sands2012-06-272-11/+21
| | | | | | | | | | | before the expression root. Any existing operators that are changed to use one of them needs to be moved between it and the expression root, and recursively for the operators using that one. When I rewrote RewriteExprTree I accidentally inverted the logic, resulting in the compacting going down from operators to operands rather than up from operands to the operators using them, oops. Fix this, resolving PR12963. llvm-svn: 159265
* tsan: check that signal handlers do not spoil errno.Dmitry Vyukov2012-06-273-1/+21
| | | | llvm-svn: 159264
* tsan: close all file descriptors after fork()Dmitry Vyukov2012-06-271-0/+2
| | | | llvm-svn: 159263
* Fix for r159256 on Windows.Axel Naumann2012-06-271-0/+4
| | | | llvm-svn: 159262
* Remove a completely unused and remarkably inaccurate list of testChandler Carruth2012-06-271-28/+0
| | | | | | | | | directories from the cmake file. Dunno what the history is here, but we're not using it. More refactorings to come here. llvm-svn: 159261
* Update the Clang CMake build to reflect the name change in LLVM r159258.Chandler Carruth2012-06-271-1/+1
| | | | llvm-svn: 159260
* Teach assembler to handle capitalised operation values for DSB instructionsRichard Barton2012-06-272-1/+7
| | | | llvm-svn: 159259
* Clean up the 'check' CMake build rule a bit, notable renaming it toChandler Carruth2012-06-271-19/+28
| | | | | | | | | | | | | | | | | | | | | | | | | 'check-llvm'. Don't worry! 'check' still works! =] To rationalize the names of targets used to run tests, the vague plan is the following: make check-llvm # run LLVM reg/unit tests (currently 'check') make check-clang # run Clang reg/unit tests (currently 'clang-test') make check-rt # run CompilerRT reg/unit tests make check-asan # run ASan reg/unit tests (subset of -rt) make check-tsan # run TSan reg/unit tests (subset of -rt) make check-all # run as much of the above as is available The last one respects what projects are checked out and built for a given tree. Personally, I would like to eventually make 'check' be an alias for 'check-all'. For now however, it is an alias for 'check-llvm', and thus no behavior has changed. While this patch and my plan only really apply to CMake, I think it might be good to similarly rationalize the naming scheme for the Make builds. llvm-svn: 159258
* Prevent ARM Assembler crashing on unrecognised assembly format for DSB ↵Richard Barton2012-06-271-1/+2
| | | | | | instruction llvm-svn: 159257
* From Vassil Vassilev:Axel Naumann2012-06-272-0/+16
| | | | | | | add interface for removing a FileEntry from the cache. Forces a re-read the contents from disk, e.g. because a tool (like cling) wants to pick up a modified file. llvm-svn: 159256
* Add support for building the ASan instrumentation unit tests with theChandler Carruth2012-06-273-23/+55
| | | | | | | | | | | | | | just-built Clang binary, and linking them against the just-built ASan runtime. This is *very* brittle. I expect it will require tweaking, and I've pro-actively disabled it on non-Unix builds and on cross-builds. It is also currently missing dependency edges on GoogleTest header files and a few other corner cases, but those can be fixed. This is the major milestone of a mini-bootstrap-like build of the unittest. llvm-svn: 159255
* Sphinxify the exception handling doc.Bill Wendling2012-06-273-564/+369
| | | | llvm-svn: 159254
* Initialize RawComment::BriefTextValid in other constructor, too.Dmitri Gribenko2012-06-271-1/+2
| | | | llvm-svn: 159253
* Introduce __has_feature(attribute_unused_on_fields) to determine whetherDaniel Jasper2012-06-272-0/+8
| | | | | | | the current version of clang understands __attribute__((unused)) on fields. llvm-svn: 159252
* Add missing words to manual.Richard Trieu2012-06-271-1/+1
| | | | llvm-svn: 159251
* Add a few (currently failing) tests for the PR13207 (template mangling in ↵Timur Iskhodzhanov2012-06-271-0/+27
| | | | | | | | | | | | | the presence of back references). I've added an extra FileCheck pass for that with an extra "CURRENT" prefix. I've carefully chosed the CURRENT/CORRECT prefixes so they a) are self-descriptive b) have the same length so the mangling between the current and the correct version is obvious Feel free to ask me to change the prefixes if you know a better alternative. llvm-svn: 159250
* Update documentation with regards to template type diffing.Richard Trieu2012-06-275-0/+130
| | | | llvm-svn: 159249
* Add a few more test cases for the -cxx-abi microsoft mangler. Some of them ↵Timur Iskhodzhanov2012-06-271-2/+14
| | | | | | were broken recently llvm-svn: 159248
* Simplify logic in BriefParser::Parse(), per Jordan's comment.Dmitri Gribenko2012-06-271-14/+7
| | | | llvm-svn: 159247
* Initialize RawCommentList::BriefTextValid when deserializing AST.Dmitri Gribenko2012-06-271-1/+1
| | | | llvm-svn: 159246
* [analyzer] RetainCountChecker: remove unused SelfOwn ArgEffect kind.Jordan Rose2012-06-271-4/+1
| | | | llvm-svn: 159245
* [analyzer] Remove unneeded helper function (it's in ASTContext.h)Jordan Rose2012-06-271-9/+0
| | | | llvm-svn: 159244
* Silence uninitialized variable warning in MipsISelDAGToDAG.cpp.Akira Hatanaka2012-06-271-1/+1
| | | | llvm-svn: 159243
* Test case for r159240.Akira Hatanaka2012-06-271-0/+9
| | | | llvm-svn: 159242
OpenPOWER on IntegriCloud