summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp andBill Wendling2012-06-2842-108/+106
| | | | | | | | | include/llvm/Analysis/DebugInfo.h to include/llvm/DebugInfo.h. The reasoning is because the DebugInfo module is simply an interface to the debug info MDNodes and has nothing to do with analysis. llvm-svn: 159312
* Remove the last vestiges of the '-lit' and '-dg' test runner split byChandler Carruth2012-06-281-9/+9
| | | | | | | | removing '-lit' qualifiers from make rules. I've left a legacy 'check-local-lit' rule in case build scripts have this encoded somewhere. llvm-svn: 159311
* Remove 'check-dg', a wrapper around 'check-local-dg' which was justChandler Carruth2012-06-282-24/+2
| | | | | | | | | nuked. Add a comment that the 'check-lit' rule is really just a legacy of having two test runners. llvm-svn: 159310
* Teach \brief parser about commands that start a new paragraph implicitlyDmitri Gribenko2012-06-282-7/+25
| | | | llvm-svn: 159309
* Remove autoconf support for runtest and tclsh, some of the last vestigalChandler Carruth2012-06-273-6/+0
| | | | | | | | | | bits of DejaGNU. Eric, you may want to remove the TCLSH bits from aclocal.m4 and regenerate... I didn't want to touch the m4 file lest something exploded. llvm-svn: 159308
* Rip out legacy DejaGNU support from our Makefiles. This hasn't been theChandler Carruth2012-06-271-22/+0
| | | | | | | default in forever, and hasn't even worked since most of the .exp files were removed. llvm-svn: 159307
* Fix uninitialized variable use bug found by the clairvoyant static analyzer.Argyrios Kyrtzidis2012-06-271-0/+1
| | | | | | | Commit::canReplaceText would not initialize its out 'Len' parameter before returning true and it would be used uninitialized in Commit::replaceText. llvm-svn: 159306
* Attaching documentation comments to declarations: don't attach a comment to ↵Dmitri Gribenko2012-06-272-2/+7
| | | | | | a declaration if there is a preprocessor directive between them. llvm-svn: 159305
* LLVM-GCC is dead. Really. I promise. ;]Chandler Carruth2012-06-271-2/+0
| | | | | | | More importantly, these files don't even have the variable that these lines purport to substite. llvm-svn: 159304
* Fix an infinite loop in comment lexer: we were not advancing in the input ↵Dmitri Gribenko2012-06-272-10/+37
| | | | | | character stream when we saw a '<' that is not a start of an HTML tag. llvm-svn: 159303
* This allows hello world to be compiled for Mips 64 direct object.Jack Carter2012-06-272-0/+40
| | | | | | | | | | | It takes advantage of r159299 which introduces relocation support for N64. elf-dump needed to be upgraded to support N64 relocations as well. This passes make check. Jack llvm-svn: 159302
* This allows hello world to be compiled for Mips 64 direct object.Jack Carter2012-06-275-12/+83
| | | | | | | | | | | It takes advantage of r159299 which introduces relocation support for N64. elf-dump needed to be upgraded to support N64 relocations as well. This passes make check. Jack llvm-svn: 159301
* Whitespace.Chad Rosier2012-06-271-34/+34
| | | | llvm-svn: 159300
* The ELF relocation record format is different for N64 Jack Carter2012-06-274-13/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which many Mips 64 ABIs use than for O64 which many if not all other target ABIs use. Most architectures have the following 64 bit relocation record format: typedef struct { Elf64_Addr r_offset; /* Address of reference */ Elf64_Xword r_info; /* Symbol index and type of relocation */ } Elf64_Rel; typedef struct { Elf64_Addr r_offset; Elf64_Xword r_info; Elf64_Sxword r_addend; } Elf64_Rela; Whereas N64 has the following format: typedef struct { Elf64_Addr r_offset;/* Address of reference */ Elf64_Word r_sym; /* Symbol index */ Elf64_Byte r_ssym; /* Special symbol */ Elf64_Byte r_type3; /* Relocation type */ Elf64_Byte r_type2; /* Relocation type */ Elf64_Byte r_type; /* Relocation type */ } Elf64_Rel; typedef struct { Elf64_Addr r_offset;/* Address of reference */ Elf64_Word r_sym; /* Symbol index */ Elf64_Byte r_ssym; /* Special symbol */ Elf64_Byte r_type3; /* Relocation type */ Elf64_Byte r_type2; /* Relocation type */ Elf64_Byte r_type; /* Relocation type */ Elf64_Sxword r_addend; } Elf64_Rela; The structure is the same size, but the r_info data element is now 5 separate elements. Besides the content aspects, endian byte reordering will be different for the area with each element being endianized separately. I treat this as generic and continue to pass r_type as an integer masking and unmasking the byte sized N64 values for N64 mode. I've implemented this and it causes no affect on other current targets. This passes make check. Jack llvm-svn: 159299
* Added the ability to read the dSYM plist file with source remappings even ↵Greg Clayton2012-06-277-0/+135
| | | | | | | | when DebugSymbols isn't used to find the dSYM. We now parse the plist as XML in the MacOSX symbol vendor. Added the ability to get a section load address given a target which is needed for a previous checking which saves crashlogs. llvm-svn: 159298
* 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
OpenPOWER on IntegriCloud