summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert test to FileCheck.Rafael Espindola2013-06-121-9/+17
| | | | llvm-svn: 183843
* Don't use PathV1 in CommandLine.cpp.Rafael Espindola2013-06-121-22/+10
| | | | | | No functionality change. llvm-svn: 183842
* Add artificial PRED_BAD to PPC::Predicate enumeration.Bill Schmidt2013-06-121-1/+2
| | | | | | | | Allows returning a PPC::Predicate from a function with a no-predicate value possible. Preparatory patch for fast-isel on PPC64 ELF. No behavioral change intended. llvm-svn: 183841
* Inline Path::isBitcodeFile into only use and remove it.Rafael Espindola2013-06-123-17/+4
| | | | llvm-svn: 183840
* Remove Path::getMagicNumber.Rafael Espindola2013-06-123-47/+0
| | | | llvm-svn: 183839
* Remove Path::hasMagicNumber.Rafael Espindola2013-06-122-16/+0
| | | | llvm-svn: 183838
* Silencing a signed vs unsigned comparison mismatch in MSVC.Aaron Ballman2013-06-121-1/+2
| | | | llvm-svn: 183837
* Remove Path::isAbsolute.Rafael Espindola2013-06-123-33/+0
| | | | llvm-svn: 183836
* Remove Path::isAbsolute().Rafael Espindola2013-06-123-29/+0
| | | | llvm-svn: 183835
* [MC/DWARF] Support .debug_frame / .debug_line code alignment factorsUlrich Weigand2013-06-127-40/+38
| | | | | | | | | | | | | | | | | | | | | | | | | I've been comparing the object file output of LLVM's integrated assembler against the external assembler on PowerPC, and one area where differences still remain are in DWARF sections. In particular, the GNU assembler generates .debug_frame and .debug_line sections using a code alignment factor of 4, since all PowerPC instructions have size 4 and must be aligned to a multiple of 4. However, current MC code hard-codes a code alignment factor of 1. This patch changes this by adding a "minimum instruction alignment" data element to MCAsmInfo and using this as code alignment factor. This requires passing a MCContext into MCDwarfLineAddr::Encode and MCDwarfLineAddr::EncodeAdvanceLoc. Note that one caller, MCDwarfLineAddr::Write, didn't actually have that information available. However, it turns out that this routine is in fact never used in the whole code base, so the patch simply removes it. If it turns out to be needed again at a later time, it could be re-added with an updated interface. llvm-svn: 183834
* Remove Path::getSuffix.Rafael Espindola2013-06-123-41/+1
| | | | llvm-svn: 183833
* LLDB feature status update to mention limitations with core-file debugging ↵Ashok Thirumurthi2013-06-121-18/+25
| | | | | | and exec. llvm-svn: 183832
* Remove sys::CopyFile.Rafael Espindola2013-06-123-64/+0
| | | | llvm-svn: 183831
* Fix 'gcc -flto' builds for unittest binaries (undefined reference toPatrik Hagglund2013-06-122-3/+0
| | | | | | | | | `typeinfo for llvm::cl::GenericOptionValue'). Remove an "anchor" method for an abstract class. (This does not increase the number of vtables.) llvm-svn: 183830
* [PowerPC] Use assembler source in MC testsUlrich Weigand2013-06-126-155/+152
| | | | | | | | | | | A couple of old test cases in test/MC/PowerPC were still using LLVM IR. Now that we have a working assembler, we can move them to assembler tests instead: ppc64-initial-cfa.ll ppc64-relocs-01.ll ppc64-tls-relocs-01.ll llvm-svn: 183829
* Remove the old file memory mapping functions.Rafael Espindola2013-06-124-53/+1
| | | | llvm-svn: 183828
* Remove Path::createFileOnDisk.Rafael Espindola2013-06-123-33/+0
| | | | llvm-svn: 183827
* Remove Path::makeExecutableOnDisk.Rafael Espindola2013-06-123-17/+0
| | | | llvm-svn: 183826
* Update Release Process docRenato Golin2013-06-121-22/+34
| | | | llvm-svn: 183825
* Fix gcc -flto build, by adding LLVM_ATTRIBUTE_USED toPatrik Hagglund2013-06-121-0/+1
| | | | | | LLVMX86CompilationCallback2, called from inline asm. llvm-svn: 183824
* Fix memory corruption in CStringCheckerPavel Labath2013-06-121-4/+1
| | | | | | | | | | | | | | | Summary: "register" functions for the checker were caching the checker objects in a static variable. This caused problems when the function is called with a different CheckerManager. Reviewers: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D955 llvm-svn: 183823
* <rdar://problem/11914077>Enrico Granata2013-06-126-89/+104
| | | | | | | If you type help command <word> <word> <word> <missingSubCommand> (e.g. help script import or help type summary fake), you will get help on the deepest matched command word (i.e. script or type summary in the examples) Also, reworked the logic for commands to produce their help to make it more object-oriented llvm-svn: 183822
* Add support for complex compound assignments where the LHS is a scalar.Eli Friedman2013-06-125-47/+82
| | | | | | Fixes <rdar://problem/11224126> and PR12790. llvm-svn: 183821
* Huge performance improvements when one breakpoint contains many locations.Greg Clayton2013-06-1221-1060/+554
| | | | | | | | | | 325,000 breakpoints for running "breakpoint set --func-regex ." on lldb itself (after hitting a breakpoint at main so that LLDB.framework is loaded) used to take up to an hour to set, now we are down under a minute. With warm file caches, we are at 40 seconds, and that is with setting 325,000 breakpoint through the GDB remote API. Linux and the native debuggers might be faster. I haven't timed what how much is debug info parsing and how much is the protocol traffic to/from GDB remote. That there were many performance issues. Most of them were due to storing breakpoints in the wrong data structures, or using the wrong iterators to traverse the lists, traversing the lists in inefficient ways, and not optimizing certain function name lookups/symbol merges correctly. Debugging after that is also now very efficient. There were issues with replacing the breakpoint opcodes in memory that was read, and those routines were also fixed. llvm-svn: 183820
* [test] fix test as the atom name is available only in DEBUG modeShankar Easwaran2013-06-121-1/+1
| | | | llvm-svn: 183819
* <rdar://problem/13299214>Enrico Granata2013-06-121-2/+4
| | | | | | Make the error message here more interesting for the user llvm-svn: 183818
* [ELF][X86_64] Create GOT entries for external TLS symbols properly without ↵Shankar Easwaran2013-06-124-3/+24
| | | | | | Segfaults. llvm-svn: 183817
* [ELF] NMAGIC support : Find the BSS section to setup the virtual address of ↵Shankar Easwaran2013-06-121-9/+6
| | | | | | _end. llvm-svn: 183816
* [ELF] TBSS section has to be special cased so that it doesnot occupy memory ↵Shankar Easwaran2013-06-126-4/+30
| | | | | | space llvm-svn: 183815
* Removing a redundant writeEnrico Granata2013-06-121-3/+0
| | | | llvm-svn: 183814
* Make va_arg and argument passing to varargs functions work correctly withEli Friedman2013-06-122-14/+58
| | | | | | | | AVX vectors when AVX is turned on. Fixes <rdar://problem/10513611>. llvm-svn: 183813
* Update TestRegisters for running on Linux (filed llvm.org/pr16301)Daniel Malea2013-06-121-3/+10
| | | | | | | - skip the attach cases in TestRegisters.py -- caused slowness/sigabrt - fixed log file removal function (in case test is run with -# flag) llvm-svn: 183812
* [yaml2obj] Remove fragile test case.Sean Silva2013-06-122-39/+0
| | | | | | | | | | This test case was a "sanity check"/"breathing" test case at first, but is really fragile, which impairs changes to yaml2obj. `test/Object/yaml2obj-elf-bits-endian.test` is much more robust and serves as an adequate sanity check. llvm-svn: 183811
* 80-colsSean Silva2013-06-121-1/+2
| | | | | | This slipped in during a hasty renaming. llvm-svn: 183810
* Correct the def registers for the 8bit x86 divide instructions toEric Christopher2013-06-111-4/+4
| | | | | | | match the comments and what the instruction actually does. Noticed on inspection. llvm-svn: 183809
* Use the Copy we defined above here.Eric Christopher2013-06-111-2/+2
| | | | llvm-svn: 183808
* Formatting.Eric Christopher2013-06-111-1/+1
| | | | llvm-svn: 183807
* [Darwin][Driver] Add unit tests.Rui Ueyama2013-06-112-0/+90
| | | | llvm-svn: 183806
* Improvements to the data formatters SB API:Enrico Granata2013-06-112-4/+101
| | | | | | | | - exposing new accessors: formats/format, ..., that allow you to iterate over all formatters e.g. sys_category = lldb.debugger.GetCategory("system").summary['char *'] - ensuring that C++-based synthetic children provider can at least print their description accurately, if nothing else llvm-svn: 183805
* Fix CMakeLists.Akira Hatanaka2013-06-111-0/+1
| | | | llvm-svn: 183804
* Tweak r183791 so we don't print a note without a source location.Eli Friedman2013-06-112-2/+18
| | | | llvm-svn: 183803
* [mips] Add an IR transformation pass that optimizes calls to sqrt.Akira Hatanaka2013-06-114-1/+209
| | | | | | | | | The pass emits a call to sqrt that has attribute "read-none". This call will be converted to an ISD::FSQRT node during DAG construction, which will turn into a mips native sqrt instruction. llvm-svn: 183802
* Move PathV2.h to Path.hRafael Espindola2013-06-117-389/+374
| | | | | | | Most clients have already been moved from Path V1 to V2. The ones using V1 now include PathV1.h explicitly. llvm-svn: 183801
* ScopDetect: check region entering edges are valid.Sebastian Pop2013-06-112-11/+26
| | | | | | | | | | | | | | | | When a region header is part of a loop, then all entering edges of this region should not come from the loop but outside the region. Otherwise, the loop may be only partially part of the region, which would cause troubles in handling induction variables. Currently, we can only model induction variables that are either fully part of the scop (loop induction variable) or induction variables that are scop- invariant (parameter). A loop that is only partially part of the scop causes troubles, as there is no good way to handle the induction variable in the independent blocks pass. Contributed-by: Star Tan <tanmx_star@yeah.net> llvm-svn: 183800
* scop detection: remove an iteration over all usesSebastian Pop2013-06-111-29/+0
| | | | llvm-svn: 183799
* scop detection: run isValidLoop as early as possibleSebastian Pop2013-06-111-4/+7
| | | | | | | to discard regions with invalid loops before going through the contents of the basic blocks llvm-svn: 183798
* scop detection: run isValidCFG as early as possibleSebastian Pop2013-06-111-3/+5
| | | | | | | to discard regions with invalid CFG before going through the contents of the basic blocks llvm-svn: 183797
* Include Path.h instead of PathV2.h.Rafael Espindola2013-06-111-1/+1
| | | | | | I am about to move PathV2.h to Path.h. llvm-svn: 183796
* Include Path.h instead of PathV2.h.Rafael Espindola2013-06-117-7/+7
| | | | | | I am about to move PathV2.h to Path.h. llvm-svn: 183795
* ARM FastISel fix sext/zext foldJF Bastien2013-06-111-19/+36
| | | | | | | | | | | Sign- and zero-extension folding was slightly incorrect because it wasn't checking that the shift on extensions was zero. Further, I recently added AND rd, rn, #255 as a form of 8-bit zero extension, and failed to add the folding code for it. This patch fixes both issues. This patch fixes both, and the test should remain the same: test/CodeGen/ARM/fast-isel-fold.ll llvm-svn: 183794
OpenPOWER on IntegriCloud